2 Replies Latest reply on Nov 7, 2007 12:07 PM by gonzalad

    disinjection and components.xml

    gonzalad

      Hello,

      Perhaps a stupid question but...

      In http://docs.jboss.com/seam/2.0.0.GA/reference/en/html/concepts.html#d0e2960, I read about disinjection :

      Injected values (@In) are disinjected (i.e, set to null) immediately after method completion and outjection.


      components.xml let us inject values like :
      <component name="org.jboss.seam.security.identity" precedence="11" class="com.test.SampleIdentity">
       <property name="authenticationManager">#{authenticationManager}</property>
      </component>


      But the setAuthenticationManager is only called at objet construction time, and no disinjection is done.

      Is it a missing feature or does it just work like that ?

      Thanks for the information !