[jboss-user] [JBoss Seam] - disinjection and components.xml

gonzalad do-not-reply at jboss.com
Wed Nov 7 10:03:12 EST 2007


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 : 
anonymous wrote : 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 !


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102576#4102576

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102576



More information about the jboss-user mailing list