This content has been marked as final.
Show 4 replies
-
1. JBoss3.0 Shutdown order of MBeans (continuation)
vad Apr 2, 2002 2:38 AM (in response to vad)I also tried and wrote a service extending MBeanService so that a shutdown calls its stop method, in which I explicitly invoke stop on my JBoss-independant MBean. This doesn't work, because it is already unreistered from server...
-
2. Re: JBoss3.0 Shutdown order of MBeans (continuation)
adrian.brock Apr 2, 2002 4:04 AM (in response to vad)How are you deploying the MBean?
If you use a service.xml, you can specify an
MBean dependency. There are examples of this in the
deploy folder.
Regards,
Adrian -
3. Re: JBoss3.0 Shutdown order of MBeans
vad Apr 2, 2002 7:25 AM (in response to vad)I deploy my main MBean via an sevice.xml. Then other MBeans are created and registered by code.
I will try to put dependencies, but just to be sure :
if A depends on B, A is started after B, OK; now is it stopped before B? -
4. Re: JBoss3.0 Shutdown order of MBeans
adrian.brock Apr 2, 2002 7:38 AM (in response to vad)Yes.
Regards,
Adrian