If your MBean is dependant on another resource, supposing contained in an EAR file, you can specify in your jboss-service.xml not to deploy before this resource is available. Use the tag "depends" for this purpose
For example:
For example:
jboss.j2ee:service=EARDeployment,url='application.ear'
The same dependancy can be applied also for other package like Jar....
<
jboss.j2ee:service=JARDeployment,url='ejbsample.jar'
No comments:
Post a Comment