com.ibm.websphere.rsadapter

Class ProxyDataSource

  • java.lang.Object
    • com.ibm.websphere.rsadapter.ProxyDataSource


  • public class ProxyDataSource
    extends java.lang.Object
    This class is used to configure the Proxy DataSource. When a user creates a Proxy DataSource JDBC provider, this class will be used as the datasource implementation class for the Proxy DataSource JDBC prvovider.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected java.lang.String[] jndiNameArray
      The delegate datasource JNDI name array
    • Constructor Summary

      Constructors 
      Constructor and Description
      ProxyDataSource() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getJndiNames() 
      boolean isJndiNameFound(java.lang.String jndiName)
      Check whether the jndiName is found in the delegate datasource JNDI name array.
      void setJndiNames(java.lang.String jndiNames)
      Set the JNDI names of datasources that this proxy routes to.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • jndiNameArray

        protected java.lang.String[] jndiNameArray
        The delegate datasource JNDI name array
    • Constructor Detail

      • ProxyDataSource

        public ProxyDataSource()
    • Method Detail

      • setJndiNames

        public void setJndiNames(java.lang.String jndiNames)
        Set the JNDI names of datasources that this proxy routes to.
        Parameters:
        jndiNames -
      • isJndiNameFound

        public boolean isJndiNameFound(java.lang.String jndiName)
        Check whether the jndiName is found in the delegate datasource JNDI name array.
        Parameters:
        jndiName -
        Returns:
        true if the jndiName is found in the array; false otherwise.
      • getJndiNames

        public java.lang.String getJndiNames()
        Returns:
        the JNDI name arrays
IBM WebSphere Application ServerTM
Release 8.5