Class JNDIDataSource


  • public final class JNDIDataSource
    extends java.lang.Object
    Defines the JNDI configuration for executing Import and Export of SQL without requiring global configuration in the application server.
    Since:
    2.5.0
    • Constructor Summary

      Constructors 
      Constructor Description
      JNDIDataSource()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Returns the SQL data source name.
      java.lang.String getPassword()
      Returns the user's password.
      java.lang.String getURL()
      Returns the database URL of the form jdbc:subprotocol:subname.
      java.lang.String getUser()
      Returns the database user on whose behalf the connection is being made.
      void setName​(java.lang.String name)
      Specifies the SQL data source name.
      void setPassword​(java.lang.String password)
      Specifies the user's password.
      void setURL​(java.lang.String url)
      Specifies the database URL of the form jdbc:subprotocol:subname.
      void setUser​(java.lang.String user)
      Specifies the database user that made the connection.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JNDIDataSource

        public JNDIDataSource()
    • Method Detail

      • getURL

        public java.lang.String getURL()
        Returns the database URL of the form jdbc:subprotocol:subname.
      • setURL

        public void setURL​(java.lang.String url)
        Specifies the database URL of the form jdbc:subprotocol:subname.
      • getUser

        public java.lang.String getUser()
        Returns the database user on whose behalf the connection is being made.
      • setUser

        public void setUser​(java.lang.String user)
        Specifies the database user that made the connection.
      • getPassword

        public java.lang.String getPassword()
        Returns the user's password.
      • setPassword

        public void setPassword​(java.lang.String password)
        Specifies the user's password.
      • getName

        public java.lang.String getName()
        Returns the SQL data source name.
      • setName

        public void setName​(java.lang.String name)
        Specifies the SQL data source name.