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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user