org.nuxeo.runtime.datasource
Class DataSourceFactory
java.lang.Object
org.nuxeo.runtime.datasource.DataSourceFactory
- All Implemented Interfaces:
- ObjectFactory
public class DataSourceFactory
- extends Object
- implements ObjectFactory
JNDI factory for a DataSource that delegates to an Apache DBCP pool.
An instance of this class is registered in JNDI for each datasource
configured by the DataSourceComponent
.
SYSTEM_PROPERTIES
public static final Set<String> SYSTEM_PROPERTIES
DataSourceFactory
public DataSourceFactory()
getObjectInstance
public Object getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> env)
throws Exception
- Specified by:
getObjectInstance
in interface ObjectFactory
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.