JBoss Community

Re: Different WorkItemManager objects

created by Cristiano Nicolai in jBPM - View the full discussion

My first goal is to be able to define the CommandBasedWSHumanTaskHandler using drools.session.conf. This will allow me to have different implementations for dev, prod environments. Today, this is the only handler that needs to be hard coded because it receive a session as parameter on his constructor.

 

Having a look in the CommandBasedWSHumanTaskHandler code the session is used only to get the WorkingItemManager, for this reason I thought that I could simply use the WorkingItemManager received as parameter on executeWorkItem or abortWorkItem.

 

I hope to make it more clear now ;)

Reply to this message by going to Community

Start a new discussion in jBPM at Community