Class JNDIDataSourceFactory
java.lang.Object
org.apache.cayenne.configuration.runtime.JNDIDataSourceFactory
- All Implemented Interfaces:
- DataSourceFactory
@Deprecated(since="5.0")
public class JNDIDataSourceFactory
extends Object
implements DataSourceFactory
Deprecated.
since 5.0, unused by Cayenne
Locates DataSource mapped via JNDI.
- Since:
- 3.1
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetDataSource(DataNodeDescriptor nodeDescriptor) Deprecated.Returns DataSource object based on the configuration provided in the "nodeDescriptor".protected StringgetLocation(DataNodeDescriptor nodeDescriptor) Deprecated.
- 
Constructor Details- 
JNDIDataSourceFactorypublic JNDIDataSourceFactory()Deprecated.
 
- 
- 
Method Details- 
getDataSourceDeprecated.Description copied from interface:DataSourceFactoryReturns DataSource object based on the configuration provided in the "nodeDescriptor".- Specified by:
- getDataSourcein interface- DataSourceFactory
- Throws:
- Exception
 
- 
getLocationDeprecated.
 
-