Class JdbcResourcesUtil


  • public class JdbcResourcesUtil
    extends Object
    Utility class for JDBC related classes
    • Method Detail

      • getRANameofJdbcConnectionPool

        public String getRANameofJdbcConnectionPool​(JdbcConnectionPool pool)
        This method takes in an admin JdbcConnectionPool and returns the RA that it belongs to.
        Parameters:
        pool - - The pool to check
        Returns:
        The name of the JDBC RA that provides this pool's data-source
      • isJdbcPoolReferredInServerInstance

        public boolean isJdbcPoolReferredInServerInstance​(PoolInfo poolInfo)
        Determines if a JDBC connection pool is referred in a server-instance via resource-refs
        Parameters:
        poolInfo - pool-name
        Returns:
        boolean true if pool is referred in this server instance as well enabled, false otherwise