org.huihoo.jfox.pool.thread
Class ThreadObjectFactory

java.lang.Object
  extended byorg.huihoo.jfox.pool.ObjectFactoryImpl
      extended byorg.huihoo.jfox.pool.thread.ThreadObjectFactory
All Implemented Interfaces:
ObjectFactory

public class ThreadObjectFactory
extends ObjectFactoryImpl

override the ObjectFactoryImpl.destroyObject method


Field Summary
 
Fields inherited from class org.huihoo.jfox.pool.ObjectFactoryImpl
classType
 
Constructor Summary
ThreadObjectFactory(java.lang.Class classType)
           
 
Method Summary
 void destroyObject(PoolableObject object)
          destroy a poolabled object
 
Methods inherited from class org.huihoo.jfox.pool.ObjectFactoryImpl
equals, getObjectClass, hashCode, makeObject, validateObject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadObjectFactory

public ThreadObjectFactory(java.lang.Class classType)
                    throws java.lang.Exception
Method Detail

destroyObject

public void destroyObject(PoolableObject object)
                   throws java.lang.Exception
Description copied from class: ObjectFactoryImpl
destroy a poolabled object

Specified by:
destroyObject in interface ObjectFactory
Overrides:
destroyObject in class ObjectFactoryImpl
Parameters:
object -
Throws:
java.lang.Exception