org.apache.ojb.broker.accesslayer
Class ConnectionFactoryPooledImpl.ConPoolFactory

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


Field Summary
(package private)  ConnectionFactoryPooledImpl cf
           
(package private)  int failedValidationQuery
           
(package private)  JdbcConnectionDescriptor jcd
           
 
Constructor Summary
ConnectionFactoryPooledImpl.ConPoolFactory(ConnectionFactoryPooledImpl cf, JdbcConnectionDescriptor jcd)
           
 
Method Summary
 void destroyObject(java.lang.Object obj)
           
 java.lang.Object makeObject()
           
 boolean validateObject(java.lang.Object obj)
           
 
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
 

Field Detail

failedValidationQuery

int failedValidationQuery

jcd

JdbcConnectionDescriptor jcd

cf

ConnectionFactoryPooledImpl cf
Constructor Detail

ConnectionFactoryPooledImpl.ConPoolFactory

public ConnectionFactoryPooledImpl.ConPoolFactory(ConnectionFactoryPooledImpl cf,
                                                  JdbcConnectionDescriptor jcd)
Method Detail

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