[jboss-user] [jBPM] - Multi-threaded process execution?

HuiSheng Xu do-not-reply at jboss.com
Mon Jul 5 05:41:39 EDT 2010


HuiSheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"Multi-threaded process execution?"

To view the discussion, visit: http://community.jboss.org/message/550988#550988

--------------------------------------------------------------
Hi Chris,

jBPM 4.x provide a IoC container to maintain all of internal components.  Each time we saw EnvironmentImpl.getFromCurrent(),  it means that we get a component from IoC container.

The EnvironmentImpl use ThreadLocal to store the current context which stored component,  so it maybe cannot be used in Multi-Thread scenario directly.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/550988#550988]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100705/c8083b83/attachment.html 


More information about the jboss-user mailing list