[jboss-user] [JBoss Microcontainer Users] - Re: How to inject the result of a JNDI lookup?
do-not-reply at jboss.com
Thu Sep 10 07:33:07 EDT 2009
Interestingly, it's exactly the same.
See any -jboss-beans.xml, and just copy your snippet properly.
Or you wanna know how to pull something out of JNDI?
There is JNDIKernelRegistryPlugin that does that for you.
You must simply add it as a bean.
Note: it adds some performance penalty as once it's installed, it's included in every bean lookup
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254401#4254401
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254401
More information about the jboss-user