Rafal Krzewski wrote:
>
> Jon Stevens wrote:
>
> > Sure, but you will need to do some work to implement this. I don't want to
> > see people willy nilly adding stuff to Turbine.destroy(). I think there
> > should be something in the Services architecture that allows people to
> > register a method that gets called by the services architecture. Then, in
> > Turbine.destroy() you should call the services.destroy() to shut all the
> > services down.
>
> All right. I volunteer to add shutdown functionality to services stuff.
> The things that will be added:
>
> Initable interface
> public void shutdown();
>
> InitableBroker interface
> public void shutdownClass(String className);
>
> ServiceBroker interface
> public void shutdownService(String serviceName);
> public void shutdownServices();
>
> With apropriate implementation throughout
> BaseInitable, BaseInitableBroker and BaseServiceBroker.
>
> I will add invocation of TubineServices.shutdownServices();
> to Turbine.destroy();
Okay, the merge is complete.
--
Daniel Rall <[EMAIL PROTECTED]>
http://collab.net/ | open source | do the right thing
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]