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

alesj do-not-reply at jboss.com
Wed Aug 29 07:16:03 EDT 2007


What you can do is this:
 1) just add a plain demand with the JNDI name
 2) add a bean that implements KernelRegistryPlugin and does the JNDI lookup

The demand dependency will be resolved once your JNDI entry is found through JNDIKernelRegistryPlugin.


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

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



More information about the jboss-user mailing list