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

    Is it possible to inject beanfactory?

    Nico Nico Newbie

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