public class ListBasedPoolableObjectFactory extends org.apache.commons.pool.BaseKeyedPoolableObjectFactory<PoolObjectKey,java.lang.Object>
| Constructor and Description |
|---|
ListBasedPoolableObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
makeObject(PoolObjectKey key) |
void |
passivateObject(PoolObjectKey key,
java.lang.Object obj) |
boolean |
validateObject(PoolObjectKey key,
java.lang.Object obj) |
public java.lang.Object makeObject(PoolObjectKey key) throws java.lang.Exception
makeObject in interface org.apache.commons.pool.KeyedPoolableObjectFactory<PoolObjectKey,java.lang.Object>makeObject in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory<PoolObjectKey,java.lang.Object>java.lang.Exceptionpublic boolean validateObject(PoolObjectKey key, java.lang.Object obj)
validateObject in interface org.apache.commons.pool.KeyedPoolableObjectFactory<PoolObjectKey,java.lang.Object>validateObject in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory<PoolObjectKey,java.lang.Object>public void passivateObject(PoolObjectKey key, java.lang.Object obj) throws java.lang.Exception
passivateObject in interface org.apache.commons.pool.KeyedPoolableObjectFactory<PoolObjectKey,java.lang.Object>passivateObject in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory<PoolObjectKey,java.lang.Object>java.lang.Exception