to.etc.dbpool
Class PoolResourceFactory

java.lang.Object
  extended by to.etc.dbpool.PoolResourceFactory
All Implemented Interfaces:
javax.naming.spi.ObjectFactory

public class PoolResourceFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory

Object factory for the database pool. This allows this pool to be used from within applications.

Author:
Frits Jalvingh Created on Jan 16, 2007

Constructor Summary
PoolResourceFactory()
           
 
Method Summary
 java.lang.Object getObjectInstance(java.lang.Object arg0, javax.naming.Name arg1, javax.naming.Context arg2, java.util.Hashtable<?,?> arg3)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoolResourceFactory

public PoolResourceFactory()
Method Detail

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object arg0,
                                          javax.naming.Name arg1,
                                          javax.naming.Context arg2,
                                          java.util.Hashtable<?,?> arg3)
                                   throws java.lang.Exception
Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
Throws:
java.lang.Exception