I am facing some issue with seam injection into jBPM context. I have my independent seam application and my jBPM is running into different application into jbpm context into deploy/jbpm folder. Inside my application i am doing an jndi lookup for the process engine. The problem i am facing is i am not able to inject seam components into the Java activities into jBPM. Now the seam injection does not work outside the seam context.
I wanted to know whether is there any way i can inject an seam component into jBPM Java activity outside the seam context using an @In annotation.
Thanks in advance.
Which version of jBPM are you using?
It should be possible to use domain-specific handlers and to inject seam incomponents into these. This might mean that the handlers should also live in the seam context and register themselves to the session but I don't see an issue with that.