User development,

A new message was posted in the thread "Undemanding Dependencies":

http://community.jboss.org/message/521533#521533

Author  : Adrian Brock
Profile : http://community.jboss.org/people/[email protected]

Message:
--------------------------------------------------------------
Ok, then another way might be:
 
<bean name="A1" mode="On Demand">
   <incallback property="b"/>
<bean>
 
<bean name="A2" mode="On Demand">
   <incallback property="b"/>
<bean>
 
<bean name="B" mode="On Demand"/>
 
But the CallbackDependencyItem also overrides
resolve(Controller)
and so doesn't do the enableOnDemand()
 
What the above should do, is that when B gets
installed, all the beans that want an instance of that
class get enabled with their setB() method invoked.


--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/521533#521533


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to