> Actually, the current ServiceMBeanSupport class, which most services
> should subclass, has the states STARTING/STARTED/STOPPING/STOPPED. You
> would send out STOPPING first to allow dependent services to stop, and
> *then* stop the actual service.

Do they have callbacks on those states? if so then that is our interface

marc

>
> I.e. logs would be something like:
> Foo stopping
> Bar stopping
> Xyzzy stopping
> Xyzzy stopped
> Bar stopped
> Foo stopped
> ...
> In the above example Bar depends on Foo, and Xyzzy depends on Bar.
>
> /Rickard
>
> --
> Rickard �berg
>
> Email: [EMAIL PROTECTED]
> http://www.telkel.com
> http://www.jboss.org
> http://www.dreambean.com
>
>
>


Reply via email to