org.apache.commons.dbcp.datasources
Class PerUserPoolDataSourceFactory
java.lang.Object
|
+--org.apache.commons.dbcp.datasources.InstanceKeyObjectFactory
|
+--org.apache.commons.dbcp.datasources.PerUserPoolDataSourceFactory
- All Implemented Interfaces:
- javax.naming.spi.ObjectFactory
- public class PerUserPoolDataSourceFactory
- extends org.apache.commons.dbcp.datasources.InstanceKeyObjectFactory
A JNDI ObjectFactory which creates SharedPoolDataSource
s
Method Summary |
static void |
closeAll()
Close all pools associated with this class. |
java.lang.Object |
getObjectInstance(java.lang.Object refObj,
javax.naming.Name name,
javax.naming.Context context,
java.util.Hashtable env)
implements ObjectFactory to create an instance of SharedPoolDataSource
or PerUserPoolDataSource |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerUserPoolDataSourceFactory
public PerUserPoolDataSourceFactory()
closeAll
public static void closeAll()
throws java.lang.Exception
- Close all pools associated with this class.
java.lang.Exception
getObjectInstance
public java.lang.Object getObjectInstance(java.lang.Object refObj,
javax.naming.Name name,
javax.naming.Context context,
java.util.Hashtable env)
throws java.io.IOException,
java.lang.ClassNotFoundException
- implements ObjectFactory to create an instance of SharedPoolDataSource
or PerUserPoolDataSource
- Specified by:
getObjectInstance
in interface javax.naming.spi.ObjectFactory
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 2001-2003 Apache Software Foundation. Documenation generated October 27 2003.