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

David Lloyd do-not-reply at jboss.com
Thu Jan 21 14:15:22 EST 2010

User development,

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


Author  : David Lloyd
Profile : http://community.jboss.org/people/david.lloyd@jboss.com

> mailto:david.lloyd at jboss.com wrote:
> > 
> > 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.
> > 
> > 
> Replying to the first post last... perhaps I can work around this by creating a subclass of CallbackDependencyItem since I'm building this up programmatically anyway?
> I might give that a go...
Won't work - there can be many instances of B's class, so injecting by class isn't enough; it has to depend on a specific instance.


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

More information about the jboss-user mailing list