Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.hivemind
Interface PoolManageable  view PoolManageable download PoolManageable.java


public interface PoolManageable

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


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

public 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

public 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.