This content has been marked as final.
Show 3 replies
-
1. Re: Configuring WorkItemHandlers as Spring Beans with jBPM 6.2 / jBPM Services
swiderski.maciej Feb 27, 2015 1:37 AM (in response to vincentp)you could do it by using deployment descriptor where you define work item handlers with special resolver and then implement this interface for spring beans look up. Similar implementations are already for Java reflection and MVEL.
Alternatively you could extend the SpringRuntimeManagerFactoryImpl to override RegisterableItemsFactory instance
HTH
-
2. Re: Configuring WorkItemHandlers as Spring Beans with jBPM 6.2 / jBPM Services
vincentp Mar 2, 2015 2:38 AM (in response to swiderski.maciej)Hello,
I opted for the second solution: extending SpringRuntimeManagerFactoryImpl and injecting a custom RegisterableItemsFactory.
Thank you!
-
3. Re: Configuring WorkItemHandlers as Spring Beans with jBPM 6.2 / jBPM Services
carlone Aug 19, 2015 8:19 AM (in response to vincentp)Hi guys,
can you please give me a code example of this second solution?
In your opinion can i call a transactional Spring service method from a custom WorkItemHandler using a different transaction manager of the one used by Jbpm?