I have an MBean that I want to set to be dependent on a particular deployed web application. Given that the jboss.management.local domain has it listed:
How do I reference this in my *-service.xml file? I tried various values for the "depends" tag, but the MBean deployment is always left incomplete...
Actually, I want my MBean to react whenever the web app is redeployed (various initialization, etc), but I also want the MBean to do its work when it is first started (so it must wait for the web-app to install). Is there another way to do this?