org.ow2.jonas.dbm.internal.cm.naming
Class DataSourceFactory
java.lang.Object
org.ow2.jonas.dbm.internal.cm.naming.DataSourceFactory
- All Implemented Interfaces:
- ObjectFactory
public class DataSourceFactory
- extends Object
- implements ObjectFactory
- Author:
- Philippe Durieux
Contributor(s):
03/05/23 Adriana Danes - Introduce connection pool size configuration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceFactory
public DataSourceFactory()
getObjectInstance
public Object getObjectInstance(Object refObj,
Name name,
Context nameCtx,
Hashtable env)
throws Exception
- Returns a
DataSource
from the given Reference
.
- Specified by:
getObjectInstance
in interface ObjectFactory
- Throws:
Exception
- See Also:
ObjectFactory.getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable)
Copyright © 2010 OW2 Consortium. All Rights Reserved.