org.apache.torque.manager
Class MethodCacheKey.Factory
java.lang.Object
org.apache.commons.pool.BasePoolableObjectFactory
org.apache.torque.manager.MethodCacheKey.Factory
- All Implemented Interfaces:
- org.apache.commons.pool.PoolableObjectFactory
- Enclosing class:
- MethodCacheKey
public static class MethodCacheKey.Factory
- extends org.apache.commons.pool.BasePoolableObjectFactory
Methods inherited from class org.apache.commons.pool.BasePoolableObjectFactory |
activateObject, destroyObject, validateObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodCacheKey.Factory
public MethodCacheKey.Factory()
makeObject
public Object makeObject()
throws Exception
- Creates an instance that can be returned by the pool.
- Specified by:
makeObject
in interface org.apache.commons.pool.PoolableObjectFactory
- Specified by:
makeObject
in class org.apache.commons.pool.BasePoolableObjectFactory
- Returns:
- an instance that can be returned by the pool.
- Throws:
Exception
passivateObject
public void passivateObject(Object obj)
throws Exception
- Uninitialize an instance to be returned to the pool.
- Specified by:
passivateObject
in interface org.apache.commons.pool.PoolableObjectFactory
- Overrides:
passivateObject
in class org.apache.commons.pool.BasePoolableObjectFactory
- Parameters:
obj
- the instance to be passivated
- Throws:
Exception
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.