This content has been marked as final.
Show 2 replies
-
1. Re: Binding the CDI BeanManager into JNDI
wolfc Aug 21, 2009 8:39 AM (in response to pmuir)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). -
2. Re: Binding the CDI BeanManager into JNDI
pmuir Aug 27, 2009 6:41 PM (in response to pmuir)Ok, so concretely, how do we go about the CDI manager there?