org.apache.ojb.broker.accesslayer
Class ConnectionFactoryPooledImpl.ConPoolFactory
java.lang.Object
org.apache.commons.pool.BasePoolableObjectFactory
org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl.ConPoolFactory
- All Implemented Interfaces:
- org.apache.commons.pool.PoolableObjectFactory
- Enclosing class:
- ConnectionFactoryPooledImpl
- class ConnectionFactoryPooledImpl.ConPoolFactory
- extends org.apache.commons.pool.BasePoolableObjectFactory
Inner class - PoolableObjectFactory
used as factory for connection pooling
Methods inherited from class org.apache.commons.pool.BasePoolableObjectFactory |
activateObject, passivateObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
failedValidationQuery
int failedValidationQuery
jcd
JdbcConnectionDescriptor jcd
cf
ConnectionFactoryPooledImpl cf
ConnectionFactoryPooledImpl.ConPoolFactory
public ConnectionFactoryPooledImpl.ConPoolFactory(ConnectionFactoryPooledImpl cf,
JdbcConnectionDescriptor jcd)
validateObject
public boolean validateObject(java.lang.Object obj)
makeObject
public java.lang.Object makeObject()
throws java.lang.Exception
- Throws:
java.lang.Exception
destroyObject
public void destroyObject(java.lang.Object obj)
throws java.lang.Exception
- Throws:
java.lang.Exception
Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14