Definately interested in a service such as you describe - life-cycle
events has been chucked around in the group for a bit and I think it would
be a valueable service.
Any chans of changing it [the interface] to (perhaps) 'Manageable' to
allow for future 'start' events too or would it be too
Thank you for your intrest and the suggestion of 'Manageable'.
I agree with you that a `Manageable` Interface, which contains a pair
start/destroy would be cleaner. I did not add the start method because
there is the Initilizable Interface. As you said very precisily my service
is an event
I'm thinking something like (let's figure out better names):
public interface Manageable
{
public void enlistService();
public void poolService();
public void shutdownService();
}
enlistService() -- invoked at creation, and as a pooled service instance is removed
from the pool
and
:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 7:04 AM
To: Jakarta Commons Developers List
Subject: Re: [HiveMind] Destroy service
Thank you for your intrest and the suggestion of 'Manageable'.
I agree with you that a `Manageable` Interface, which contains a pair
start/destroy would