2 Replies Latest reply on Sep 29, 2008 9:55 AM by zenzei2k

    Is it possible to inject beanfactory?

    zenzei2k

      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!!