org.huihoo.jfox.pool
Interface PoolableObject

All Known Subinterfaces:
PoolableConnection
All Known Implementing Classes:
EJBPoolableObject, SimplePoolableConnection, TestPoolableObject

public interface PoolableObject


Method Summary
 void activate()
          actvite the object before it be retrived
 void passivate()
          passivate the object before it be restored, set the status to initialized
 

Method Detail

activate

public void activate()
              throws java.lang.Exception
actvite the object before it be retrived

Throws:
java.lang.Exception

passivate

public void passivate()
               throws java.lang.Exception
passivate the object before it be restored, set the status to initialized

Throws:
java.lang.Exception