org.apache.torque.manager
Class MethodCacheKey.Factory

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

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.

Parameters:
obj - the instance to be passivated
Throws:
java.lang.Exception


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