[jboss-user] [JBoss jBPM] - Re: Java calls and per-thread model for Spring/Tapestry5 ser
jugglingcats
do-not-reply at jboss.com
Tue Jul 7 11:50:06 EDT 2009
The aim is to not have the service aware of how it is being used. The service is returned to jBPM to subsequently invoke method(s), so there is no suitable point in the code to do the thread cleanup.
Imagine that there is some code in jBPM that logically does:
- Get bean from context (invokes the Tapestry/SpringContext in the context chain to get the service bean)
- Invoke service method
<-- here is where we need to do thread cleanup
- Continue with execution
Hope this makes sense.
Alfie.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242243#4242243
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242243
More information about the jboss-user
mailing list