3 Replies Latest reply on Sep 1, 2010 8:55 AM by Pete Muir

    Invokation of Producer Methods

    nimo stephan Master

      I have a Bean A and B.


      A has itself a Producer-Method a1 (@Produces).
      B has itself a Producer-Method b1 (@Produces).


      Now, A injects a (new Instance of) B.


      Does the Container invokes the Producer-Method a1 automatically when A is instantiated ?


      Does the Container invokes the Producer-Method b1 automatically when A injects B ?