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 Details

    • JNDIDataSourceFactory

      public JNDIDataSourceFactory()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getDataSource

      public DataSource getDataSource(DataNodeDescriptor nodeDescriptor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: DataSourceFactory
      Returns DataSource object based on the configuration provided in the "nodeDescriptor".
      Specified by:
      getDataSource in interface DataSourceFactory
    • getLocation

      protected String getLocation(DataNodeDescriptor nodeDescriptor)
      Deprecated, for removal: This API element is subject to removal in a future version.