[jboss-user] [Microcontainer] - Re: How do I programmatically declare a JNDI name dependency

wolfc do-not-reply at jboss.com
Tue Sep 4 03:31:06 EDT 2007


"alesj" wrote : But why is another lookup issued?
Because the EJB 3 injection framework itself doesn't know about MC. It only knows the JNDI name. I could change this to kernel.getRegistry().getEntry(name) but that would just mean another lookup. (Note: the (JNDI) registry should never cache, because I might actually want a new SFSB.)
"alesj" wrote : And what's the deal with those exceptions?
At some point someone is asking for the HAPartition bean which is also a JNDI  context, so the context is returned instead of the bean.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080726#4080726

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080726



More information about the jboss-user mailing list