[jboss-dev-forums] [Design of JCA on JBoss] - Re: Implement WorkContextProvider Check
jesper.pedersen
do-not-reply at jboss.com
Thu Jul 16 14:00:16 EDT 2009
The WorkContext's must be setup in the work thread before run() is executed.
So the best place for this would be WorkManagerImpl::startWork(WorkWrapper) as we need to interact this the rest of the container in regards to the TransactionContext and SecurityContext.
I agree that the layout of the WorkManagerImpl class could be a bit better - limit duplicated code, more logging and so on.
Feel free to reorganize the WorkManagerImpl class such that each phase is better described.
HTH
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244145#4244145
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244145
More information about the jboss-dev-forums
mailing list