[jboss-user] [JBoss/Spring Integration] - Re: Jndi lookup on spring factory return 'null'
alesj
do-not-reply at jboss.com
Thu Sep 21 06:00:22 EDT 2006
Runtime lookup uses this:
| private Object getObjectFromBeanFactory(Spring spring) throws Exception
| {
| BeanFactory beanFactory = (BeanFactory) org.jboss.naming.Util.lookup(spring.jndiName(), BeanFactory.class);
| return beanFactory.getBean(spring.bean());
| }
|
Will try doing the same as you - from junit or standalone/client.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973199#3973199
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973199
More information about the jboss-user
mailing list