org.huihoo.jfox.pool.thread
Class ThreadableObjectFactory

java.lang.Object
  |
  +--org.huihoo.jfox.pool.ObjectFactorySupport
        |
        +--org.huihoo.jfox.pool.thread.ThreadableObjectFactory
All Implemented Interfaces:
ObjectFactory

public class ThreadableObjectFactory
extends ObjectFactorySupport

override the ObjectFactorySupport.destroyObject method

Author:
Young Yang

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

Constructor Detail

ThreadableObjectFactory

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

destroyObject

public void destroyObject(PoolableObject object)
                   throws java.lang.Exception
Description copied from class: ObjectFactorySupport
destroy a poolabled object
Overrides:
destroyObject in class ObjectFactorySupport
Following copied from class: org.huihoo.jfox.pool.ObjectFactorySupport
Parameters:
object -