On Fri, 2005-12-16 at 14:20 -0500, Tony Dean wrote:
> I was thinking of having something like J2EE ServiceLifecycle.
>
> public interface ServiceLifecycle
> {
>
> public abstract void init(Object obj)
> throws ServiceException;
>
> public abstract void destroy();
> }
>
> Such that a service can choose to implement it or not. If the service
> does implement it then the engine must call its init() when the
> service is loaded and likewise, call its destroy() when the service is
> removed. It would not be appropriate to force a service to implement
> it.
+1.
Sanjiva.
>