org.priha.util
Class Pool.Poolable

java.lang.Object
  extended by org.priha.util.Pool.Poolable
Enclosing class:
Pool

public abstract static class Pool.Poolable
extends java.lang.Object


Field Summary
protected  Pool m_pool
           
 
Constructor Summary
Pool.Poolable(Pool p)
           
 
Method Summary
 void dispose()
          Default implementation does nothing.
 void release()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_pool

protected Pool m_pool
Constructor Detail

Pool.Poolable

public Pool.Poolable(Pool p)
Method Detail

release

public void release()

dispose

public void dispose()
             throws java.lang.Exception
Default implementation does nothing. You should override this if your object needs special cleanup.

Throws:
java.lang.Exception