org.jboss.jca.as.converters
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

Nested Class Summary
static class DataSource.Tag
          A Tag.
 
Method Summary
 String getCheckValidConnectionSql()
          Get the checkValidConnectionSql.
 org.jboss.jca.common.api.metadata.common.Extension getExceptionSorter()
          Get the exceptionSorter
 String getNewConnectionSql()
          Get the newConnectionSql.
 String getPassword()
          Get the password.
 Long getPreparedStatementsCacheSize()
          Get the preparedStatementsCacheSize.
 Long getQueryTimeout()
          Get the queryTimeout.
 org.jboss.jca.common.api.metadata.common.Extension getStaleConnectionChecker()
          Get the staleConnectionChecker
 org.jboss.jca.common.api.metadata.ds.Statement.TrackStatementsEnum getTrackStatements()
          Get the trackStatements.
 String getUrlDelimiter()
          Get the urlDelimiter.
 String getUrlSelectorStrategyClassName()
          Get the urlSelectorStrategyClassName.
 String getUserName()
          Get the userName.
 Long getUseTryLock()
          Get the useTryLock.
 org.jboss.jca.common.api.metadata.common.Extension getValidConnectionChecker()
          Get the validConnectionChecker
 Boolean isSetTxQueryTimeout()
          Get the setTxQuertTimeout.
 Boolean isSharePreparedStatements()
          Get the sharePreparedStatements.
 Boolean isUseJavaContext()
          Get the useJavaContext.
 Boolean isValidateOnMatch()
          Get the validateOnMatch.
 
Methods inherited from interface org.jboss.jca.as.converters.ConnectionFactory
getAllocationRetry, getAllocationRetryWaitMillis, getBackgroundValidationMillis, getBlockingTimeoutMillis, getIdleTimeoutMinutes, getJndiName, getMaxPoolSize, getMinPoolSize, getSecurityDomain, isBackgroundValidation, isPrefill, isUseFastFail
 

Method Detail

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.


Copyright © 2011 Red Hat Middleware LLC (http://www.jboss.com/)