org.apache.hivemind
Interface PoolManageable


public interface PoolManageable

Interface for core service implementations that are managed using the pooled service model.

Author:
Howard Lewis Ship

Method Summary
 void activateService()
          Invoked just after a service is either created, or just after it is removed from the service pool and bound to a new thread.
 void passivateService()
          Invoked when a service is unbound from a thread, just before being returned to the service pool.
 

Method Detail

activateService

void activateService()
Invoked just after a service is either created, or just after it is removed from the service pool and bound to a new thread.


passivateService

void passivateService()
Invoked when a service is unbound from a thread, just before being returned to the service pool. It is not guaranteed that this will be invoked when the Registry is shutdown.



Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.