5 Replies Latest reply on Apr 17, 2009 4:41 AM by Ingo Jobling

    global injection config possible?

    Arbi Sookazian Master

      is it possible to configure your Seam app (e.g. in the components.xml) to inject specified objects/instances into, say all SFSB's?


      e.g. why do we have to manually hand-code the following into every SFSB or JavaBean that is conversation-scoped?


      @In
           private EntityManager entityManager;
           
           @Logger
           private Log log;



      We should be able to config once globally (like we can do now with a4j:queue global default queue in web.xml) and override as required in the components.


      Any votes??