I would rather do it more cleanly. It should be something within the
Services and it should be done with interfaces defining the methods.
Remember that Turbine servlet is just an entity that also uses
Services,....

-jon


> 
> While we're working on the Services, does anyone have any objections
> to adding a destroy() method to the Service interface?  If not, I'd like
> to
> also setup something like this in the Turbine servlet.
> 
> Turbine.java
> 
> public void destroy()
> {
>    Enumeration e = TurbineServices.getServices();
>    
>    while ( e.hasMoreElements() )
>    {
>        Service s = (Service)e.nextElement();
>        s.destroy();
>    }                  
> }
> 
> dave
> 
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
> 
> 



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to