[jboss-user] [JBoss Microcontainer] New message: "Re: Undemanding Dependencies"

Adrian Brock do-not-reply at jboss.com
Thu Jan 21 13:36:57 EST 2010

User development,

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


Author  : Adrian Brock
Profile : http://community.jboss.org/people/adrian@jboss.org

Ok, then another way might be:
<bean name="A1" mode="On Demand">
   <incallback property="b"/>
<bean name="A2" mode="On Demand">
   <incallback property="b"/>
<bean name="B" mode="On Demand"/>
But the CallbackDependencyItem also overrides
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

More information about the jboss-user mailing list