[jboss-user] [JBoss/Spring Integration] - Is it possible to inject beanfactory?

nhiggs do-not-reply at jboss.com
Sun Sep 28 17:05:31 EDT 2008

Hi! I'm new to the forums, and I would like to know if it's possible to inject the BeanFactory instead of a bean in an EJB (with the '@Spring' annotation and without using InitialContext and JNDI).

I thought it could be possible if I use the @Spring annotation without any beanName, but looking in the source code it seems that inject beans by type.

I'm using Jboss 4.2.3 with Spring Deployer 2.1

Thanks and regards!!

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

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

More information about the jboss-user mailing list