org.apache.torque.manager
Class MethodCacheKey.Factory

java.lang.Object
  extended by org.apache.commons.pool.BasePoolableObjectFactory
      extended by 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


Constructor Summary
MethodCacheKey.Factory()
           
 
Method Summary
 java.lang.Object makeObject()
          Creates an instance that can be returned by the pool.
 void passivateObject(java.lang.Object obj)
          Uninitialize an instance to be returned to the pool.
 
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
 

Constructor Detail

MethodCacheKey.Factory

public MethodCacheKey.Factory()
Method Detail

makeObject

public java.lang.Object makeObject()
                            throws java.lang.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:
java.lang.Exception

passivateObject

public void passivateObject(java.lang.Object obj)
                     throws java.lang.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:
java.lang.Exception


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.