[
https://jira.jboss.org/jira/browse/JBMICROCONT-410?page=com.atlassian.jir...
]
Adrian Brock moved JBJMX-93 to JBMICROCONT-410:
-----------------------------------------------
Project: JBoss Microcontainer (was: JBoss JMX)
Key: JBMICROCONT-410 (was: JBJMX-93)
Fix Version/s: (was: JBossAS-5.0 Alpha)
(was: JBossAS-4.0.1)
Affects Version/s: (was: JBossAS-4.0.0)
(was: JBossAS-5.0 Alpha)
(was: JBossAS-4.0.1)
<dependsnot> element
--------------------
Key: JBMICROCONT-410
URL:
https://jira.jboss.org/jira/browse/JBMICROCONT-410
Project: JBoss Microcontainer
Issue Type: Feature Request
Reporter: Andrew Oliver
Priority: Minor
Original Estimate: 1 day
Remaining Estimate: 1 day
Presently you can say:
<depends>jboss:service=foo</depends>
but you cannot say
<dependsnot>jboss:service=foo</dependsnot>
The former says only do this once that service starts. The latter says "do not do
this if that service starts during deployment and stop the service if it is ever
started".
Reasons:
Mutually exclusive services, error messages.
Examples:
<mbean name="jboss.mail:service=HARError">
<dependsnot>jboss:service=HARDeployer</dependsnot>
</mbean>
It would deploy if HAR deployer was not existent and dump an error out to the console:
public void start() {
System.err.println("************** ATTENTION *****************");
System.err.println("*** HARDeployer not installed.. Rerun the installer and select
JBoss 4.0.3+ support. ***");
System.err.println("************** /ATTENTION ****************");
}
This would also be useful for the new microcontainer stuff
@dependsnot ....
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira