[jboss-user] [JBoss jBPM] - Re: How to get the jbpm context ?

cocampo do-not-reply at jboss.com
Thu Dec 14 10:25:19 EST 2006


I believe that, once you get a JbpmConfiguration instance and after you created a context with that instance, you can actually use getCurrentJbpmContext.

Test this code:


  | JbpmConfiguration config = JbpmConfiguration.getInstance();
  | JbpmContext context = config.createJbpmContext();
  | assertEquals(context, config.getCurrentJbpmContext());
  | 

Let me know if that works for you.

Regards.

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

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



More information about the jboss-user mailing list