org.sadun.util.pool2
Class ObjectPool.PassivationManagerFactory

java.lang.Object
  extended byorg.sadun.util.pool2.ObjectPool.PassivationManagerFactory
Direct Known Subclasses:
ObjectPool.DefaultPassivationManagerFactory
Enclosing class:
ObjectPool

protected abstract static class ObjectPool.PassivationManagerFactory
extends java.lang.Object

A base class for a factory of BasePassivationManagers. It can be extended to produce a specific subclass of BasePassivationManager.


Constructor Summary
protected ObjectPool.PassivationManagerFactory()
           
 
Method Summary
protected abstract  BasePassivationManager createPassivationThread()
          Return a specific subclass of BasePassivationManager implementing a certain passivation policy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectPool.PassivationManagerFactory

protected ObjectPool.PassivationManagerFactory()
Method Detail

createPassivationThread

protected abstract BasePassivationManager createPassivationThread()
Return a specific subclass of BasePassivationManager implementing a certain passivation policy.

Returns:
a concrete subclass of BasePassivationManager