[jboss-dev-forums] [Design of JBoss jBPM] - Re: programmatic passing of environment objects

heiko.braun@jboss.com do-not-reply at jboss.com
Tue Mar 17 06:05:57 EDT 2009


You can skip the 'finally' when using the callback because it's managed outside of the task service:

  | [...]
  |  finally {
  |   taskService.removeEnvironmentObjects();
  | }
  | 


Same applies to the lookup key. Using a callback would force the task service to engage the lookup with it's key and not the client environment.


  | taskService.setEnvironmentObject("authentication", authentication);
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218527#4218527

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218527



More information about the jboss-dev-forums mailing list