Re: Remaining tasklist for alpha?
"Lachezar Dobrev" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Organization | LSN Software and telecommunication systems |
| Message-ID | <064a01c398c2$c3a4f130$6f02a8c0@Sijaiko> |
Hi. > I understand this :) > But tell me, how do you stop gracefully your system ? > Say you configure one MBeans and then you call start() on it. To > stop it gracefully you have to call stop() on it. How do you do it ? Well... Our system is built as a Standalone app. We have set up all the available shutdown hooks and interrupt handlers. If you're asking about the shutdown of the beans... My implementation had sections in the XML for both the startup phase and the shutdown phase. I also had installed an MBean, that would read/execute the startup/shutdown script. The handlers will then call this ROOT bean upon shutdown and request, that it executes the shutdown procedure. I am thinking of it as an MLet-like bean, that also has the start() and stop() methods. It is however the developer's task to set-up appropriate shutdown handlers, that will notify the ROOT loader of the shutdown process. > > Thanks, > > Simon I think we can elaborate more on that. Lachezar. ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54