net.spy.pool
Class JDBCPoolFiller

java.lang.Object
  extended by net.spy.pool.PoolFiller
      extended by net.spy.pool.JDBCPoolFiller

public class JDBCPoolFiller
extends PoolFiller

PoolFiller object to fill a pool with JDBC PoolAbles


Constructor Summary
JDBCPoolFiller(java.lang.String name, SpyConfig conf)
          Instantiate the JDBCPoolFiller.
 
Method Summary
 PoolAble getObject()
          get a new object for the pool.
 
Methods inherited from class net.spy.pool.PoolFiller
debugName, getConfig, getName, getPoolHash, getProperty, getProperty, getPropertyInt, setConfig, setName, setPoolHash
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCPoolFiller

public JDBCPoolFiller(java.lang.String name,
                      SpyConfig conf)
               throws PoolException
Instantiate the JDBCPoolFiller.

Throws:
PoolException
Method Detail

getObject

public PoolAble getObject()
                   throws PoolException
get a new object for the pool. The following config entries are required: The following config entries are optional:

Specified by:
getObject in class PoolFiller
Throws:
PoolException - if a new connection could not be made.


Copyright © 1995-2005 SPY Internetworking. All Rights Reserved.