Class JNDIDataSourceFactory
java.lang.Object
org.apache.cayenne.configuration.server.JNDIDataSourceFactory
- All Implemented Interfaces:
- DataSourceFactory
public class JNDIDataSourceFactory extends Object implements DataSourceFactory
Locates DataSource mapped via JNDI.
- Since:
- 3.1
- 
Constructor SummaryConstructors Constructor Description JNDIDataSourceFactory()
- 
Method SummaryModifier and Type Method Description DataSourcegetDataSource(DataNodeDescriptor nodeDescriptor)Returns DataSource object based on the configuration provided in the "nodeDescriptor".protected StringgetLocation(DataNodeDescriptor nodeDescriptor)
- 
Constructor Details- 
JNDIDataSourceFactorypublic JNDIDataSourceFactory()
 
- 
- 
Method Details- 
getDataSourceDescription copied from interface:DataSourceFactoryReturns DataSource object based on the configuration provided in the "nodeDescriptor".- Specified by:
- getDataSourcein interface- DataSourceFactory
- Throws:
- Exception
 
- 
getLocation
 
-