2 Replies Latest reply on Aug 5, 2006 1:40 PM by Joseph Nusairat

    Question on Injection by Factory

    Joseph Nusairat Newbie


      Somewhat of a small question.

      Class A has -

      @In(required = false, create = true)
      private Message message;


      However class A has no @Factory method.

      Class B has a @Factory("message")

      Message is a seam component

      .. so when i run code to call Class A ... Class B's factory also gets called.

      I assume this is normal behaviour since we wanted it to create it and searched out something to create??