The class loader based ENCFactory really should be dropped for a thread or invocation
context keyed implementation. The main issue in switching is getting all of the component
calls paths tied into the correct lookup mechanism. We also need a jndi Context wrapper
that allows the enc context to be read-only.
This should be a common ENCMap bean that provides the various enc Contexts keyed by a
unique component deployment id. The id key is what needs to be made available for the
java:comp ObjectFactory via thread local or invocation context key.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995392#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...