[jboss-dev-forums] [JBoss Microcontainer Dev - POJO Server] - Re: Binding the CDI BeanManager into JNDI
wolfc
do-not-reply at jboss.com
Fri Aug 21 08:39:11 EDT 2009
Right now almost all references bound under java:comp are LinkRefs to global JNDI entries. A container will get the JNDI name via a resolver. (The container deployer will get the MC bean dependency via the same resolver to ensure the container depends upon it.) The container will setup the LinkRef, because it is the only one allowed to write there.
Alternatively we could go for an ObjectFactory that hooks onto DeploymentServices, but I don't see how get the container from an ObjectFactory (the usual can't get a MC bean from there).
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250876#4250876
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250876
More information about the jboss-dev-forums
mailing list