Package com.complexible.common.pool
Class DefaultPoolableObjectFactory
java.lang.Object
com.complexible.common.pool.DefaultPoolableObjectFactory
- All Implemented Interfaces:
org.apache.commons.pool.PoolableObjectFactory
public class DefaultPoolableObjectFactory
extends Object
implements org.apache.commons.pool.PoolableObjectFactory
Provides a simple implementation of a PoolableObjectFactory that can be used with ApachePoolConfig.
- Since:
- 0.6.5
- Version:
- 0.6.5
- Author:
- Michael Grove
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidvoidfinal voidboolean
-
Constructor Details
-
DefaultPoolableObjectFactory
-
-
Method Details
-
makeObject
- Specified by:
makeObjectin interfaceorg.apache.commons.pool.PoolableObjectFactory- Throws:
Exception
-
destroyObject
- Specified by:
destroyObjectin interfaceorg.apache.commons.pool.PoolableObjectFactory- Throws:
Exception
-
validateObject
- Specified by:
validateObjectin interfaceorg.apache.commons.pool.PoolableObjectFactory
-
activateObject
- Specified by:
activateObjectin interfaceorg.apache.commons.pool.PoolableObjectFactory- Throws:
Exception
-
passivateObject
- Specified by:
passivateObjectin interfaceorg.apache.commons.pool.PoolableObjectFactory- Throws:
Exception
-