Interface PoolingDataSourceWrapper

  • All Superinterfaces:
    javax.sql.CommonDataSource, javax.sql.DataSource, java.sql.Wrapper
    All Known Implementing Classes:
    PoolingDataSourceWrapperImpl

    public interface PoolingDataSourceWrapper
    extends javax.sql.DataSource
    Wrapper for an XA data source with pooling capabilities.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Closes the data source; as a result, the data source will stop providing connections and will be unregistered from JNDI context.
      java.lang.String getClassName()  
      java.lang.String getUniqueName()  
      • Methods inherited from interface javax.sql.CommonDataSource

        createShardingKeyBuilder, getParentLogger
      • Methods inherited from interface javax.sql.DataSource

        createConnectionBuilder, getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
      • Methods inherited from interface java.sql.Wrapper

        isWrapperFor, unwrap
    • Method Detail

      • close

        void close()
        Closes the data source; as a result, the data source will stop providing connections and will be unregistered from JNDI context.
      • getUniqueName

        java.lang.String getUniqueName()
        Returns:
        the data source JNDI name
      • getClassName

        java.lang.String getClassName()
        Returns:
        name of underlying XADataSource class