This content has been marked as final.
Show 2 replies
-
1. Re: Invoking MBean Operation just before JBoss starts
adrian.brock Aug 4, 2003 1:59 PM (in response to _naga_)The latest version (3.2.2RC2) allows you put deployments
in a directory called deploy.last
Regards,
Adrian -
2. Re: Invoking MBean Operation just before JBoss starts
manavagiwal Aug 5, 2003 3:31 AM (in response to _naga_)Hi Naga
With JBoss you can specify the sequence of deployment for MBeans.
When you have deployed your MBan - call it aBean (on which you want to invoke an operation before the server displays the message 'started') you can write another MBean - bBean. In the default no argument constructor of bBean get an instance of the MBean server , query for aBean and then ask the server to invoke the operation. Just make sure that bBean is deployed after aBean is deployed.
Cheers
Manav