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&...]