Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.datasource
Class DataSourceFactory

java.lang.Object
  extended by 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.


Field Summary
static Set<String> SYSTEM_PROPERTIES
           
 
Constructor Summary
DataSourceFactory()
           
 
Method Summary
 Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> env)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYSTEM_PROPERTIES

public static final Set<String> SYSTEM_PROPERTIES
Constructor Detail

DataSourceFactory

public DataSourceFactory()
Method Detail

getObjectInstance

public Object getObjectInstance(Object obj,
                                Name name,
                                Context nameCtx,
                                Hashtable<?,?> env)
                         throws Exception
Specified by:
getObjectInstance in interface ObjectFactory
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.