org.huihoo.jfox.pool
Class TestPoolableObject

java.lang.Object
  |
  +--org.huihoo.jfox.pool.TestPoolableObject
All Implemented Interfaces:
PoolableObject

public class TestPoolableObject
extends java.lang.Object
implements PoolableObject

Author:
Young Yang

Constructor Summary
TestPoolableObject()
           
 
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
 java.lang.String say()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestPoolableObject

public TestPoolableObject()
Method Detail

activate

public void activate()
              throws java.lang.Exception
Description copied from interface: PoolableObject
actvite the object before it be retrived
Specified by:
activate in interface PoolableObject

passivate

public void passivate()
               throws java.lang.Exception
Description copied from interface: PoolableObject
passivate the object before it be restored, set the status to initialized
Specified by:
passivate in interface PoolableObject

say

public java.lang.String say()