Class JNDIDataSourceFactory
java.lang.Object
org.apache.cayenne.configuration.runtime.JNDIDataSourceFactory
- All Implemented Interfaces:
DataSourceFactory
@Deprecated(since="5.0",
forRemoval=true)
public class JNDIDataSourceFactory
extends Object
implements DataSourceFactory
Deprecated, for removal: This API element is subject to removal in a future version.
unused by Cayenne
Locates DataSource mapped via JNDI.
- Since:
- 3.1
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptiongetDataSource(DataNodeDescriptor nodeDescriptor) Deprecated, for removal: This API element is subject to removal in a future version.Returns DataSource object based on the configuration provided in the "nodeDescriptor".protected StringgetLocation(DataNodeDescriptor nodeDescriptor) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
JNDIDataSourceFactory
public JNDIDataSourceFactory()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getDataSource
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:DataSourceFactoryReturns DataSource object based on the configuration provided in the "nodeDescriptor".- Specified by:
getDataSourcein interfaceDataSourceFactory
-
getLocation
Deprecated, for removal: This API element is subject to removal in a future version.
-