Class JNDIDatabaseFileSystem

  • All Implemented Interfaces:
    FileSystem

    public class JNDIDatabaseFileSystem
    extends DatabaseFileSystem
    Deprecated.
    This class should not be used because it is not database vendor specific. Each DatabaseFileSystem now supports getting the connection via JNDI by setting the driver to javax.naming.InitialContext and the URL to the JNDI name.

    Database file system that uses JNDI to acquire the database connection. The JNDI location of the DataSource to be used in given as the dataSourceLocation configuration property. See the DbFileSystem for more configuration details.

    WARNING: The acquired database connection is kept for the entire lifetime of the file system instance. The configured data source should be prepared for this.

    • Constructor Detail

      • JNDIDatabaseFileSystem

        public JNDIDatabaseFileSystem()
        Deprecated.
    • Method Detail

      • getDataSourceLocation

        public String getDataSourceLocation()
        Deprecated.
        Returns the JNDI location of the data source.
        Returns:
        data source location
      • setDataSourceLocation

        public void setDataSourceLocation​(String dataSourceLocation)
        Deprecated.
        Sets the JNDI location of the data source.
        Parameters:
        dataSourceLocation - data source location