Interface DataSource

All Superinterfaces:
ConnectionFactory
All Known Subinterfaces:
LocalTxDataSource, NoTxDataSource, XaDataSource
All Known Implementing Classes:
LegacyTxDataSourceImpl, LegacyXaDataSourceImp

public interface DataSource extends ConnectionFactory
Common DataSource
Version:
$Revision: $
Author:
Jeff Zhang
  • Method Details

    • isUseJavaContext

      Boolean isUseJavaContext()
      Get the useJavaContext.
      Returns:
      the useJavaContext.
    • getUrlDelimiter

      String getUrlDelimiter()
      Get the urlDelimiter.
      Returns:
      the urlDelimiter.
    • getUrlSelectorStrategyClassName

      String getUrlSelectorStrategyClassName()
      Get the urlSelectorStrategyClassName.
      Returns:
      the urlSelectorStrategyClassName.
    • getUserName

      String getUserName()
      Get the userName.
      Returns:
      the userName.
    • getPassword

      String getPassword()
      Get the password.
      Returns:
      the password.
    • isValidateOnMatch

      Boolean isValidateOnMatch()
      Get the validateOnMatch.
      Returns:
      the validateOnMatch.
    • getNewConnectionSql

      String getNewConnectionSql()
      Get the newConnectionSql.
      Returns:
      the newConnectionSql.
    • getCheckValidConnectionSql

      String getCheckValidConnectionSql()
      Get the checkValidConnectionSql.
      Returns:
      the checkValidConnectionSql.
    • getValidConnectionChecker

      org.jboss.jca.common.api.metadata.common.Extension getValidConnectionChecker()
      Get the validConnectionChecker
      Returns:
      the validConnectionChecker
    • getExceptionSorter

      org.jboss.jca.common.api.metadata.common.Extension getExceptionSorter()
      Get the exceptionSorter
      Returns:
      the exceptionSorter
    • getStaleConnectionChecker

      org.jboss.jca.common.api.metadata.common.Extension getStaleConnectionChecker()
      Get the staleConnectionChecker
      Returns:
      the staleConnectionChecker
    • getTrackStatements

      org.jboss.jca.common.api.metadata.ds.Statement.TrackStatementsEnum getTrackStatements()
      Get the trackStatements.
      Returns:
      the trackStatements.
    • getPreparedStatementsCacheSize

      Long getPreparedStatementsCacheSize()
      Get the preparedStatementsCacheSize.
      Returns:
      the preparedStatementsCacheSize.
    • isSharePreparedStatements

      Boolean isSharePreparedStatements()
      Get the sharePreparedStatements.
      Returns:
      the sharePreparedStatements.
    • isSetTxQueryTimeout

      Boolean isSetTxQueryTimeout()
      Get the setTxQuertTimeout.
      Returns:
      the setTxQuertTimeout.
    • getQueryTimeout

      Long getQueryTimeout()
      Get the queryTimeout.
      Returns:
      the queryTimeout.
    • getUseTryLock

      Long getUseTryLock()
      Get the useTryLock.
      Returns:
      the useTryLock.