User development,
A new message was posted in the thread "Undemanding Dependencies":
http://community.jboss.org/message/521132#521132
Author : Ales Justin
Profile :
http://community.jboss.org/people/alesj
Message:
--------------------------------------------------------------
I want to declare a relationship, A depending on B, where B is
on-demand. However, I don't want A to cause B to start if nothing else depends on B.
In other words, A should only start if something else causes B to start.
Is this possible?
Yes, but not declaratively, only programmatically.
This is how I would do it.
* declare both A, B as On_Demand
* install B --> ControllerContext -->
http://anonsvn.jboss.org/repos/jbossas/projects/kernel/trunk/dependency/s...
* once you have DependencyInfo --> add
http://anonsvn.jboss.org/repos/jbossas/projects/kernel/trunk/dependency/s...
(LCI)
* this LCI should simply enable (and install) A
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/521132#521132