User development,
A new message was posted in the thread "Undemanding Dependencies":
http://community.jboss.org/message/521551#521551
Author : David Lloyd
Profile :
http://community.jboss.org/people/david.lloyd@jboss.com
Message:
--------------------------------------------------------------
mailto:david.lloyd@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