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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDataSource
(DataNodeDescriptor nodeDescriptor) Deprecated.Returns DataSource object based on the configuration provided in the "nodeDescriptor".protected String
getLocation
(DataNodeDescriptor nodeDescriptor) Deprecated.
-
Constructor Details
-
JNDIDataSourceFactory
public JNDIDataSourceFactory()Deprecated.
-
-
Method Details
-
getDataSource
Deprecated.Description copied from interface:DataSourceFactory
Returns DataSource object based on the configuration provided in the "nodeDescriptor".- Specified by:
getDataSource
in interfaceDataSourceFactory
- Throws:
Exception
-
getLocation
Deprecated.
-