Package 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
Nested Classes Modifier and Type Interface Description static classDataSource.TagA Tag.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCheckValidConnectionSql()Get the checkValidConnectionSql.org.jboss.jca.common.api.metadata.common.ExtensiongetExceptionSorter()Get the exceptionSorterStringgetNewConnectionSql()Get the newConnectionSql.StringgetPassword()Get the password.LonggetPreparedStatementsCacheSize()Get the preparedStatementsCacheSize.LonggetQueryTimeout()Get the queryTimeout.org.jboss.jca.common.api.metadata.common.ExtensiongetStaleConnectionChecker()Get the staleConnectionCheckerorg.jboss.jca.common.api.metadata.ds.Statement.TrackStatementsEnumgetTrackStatements()Get the trackStatements.StringgetUrlDelimiter()Get the urlDelimiter.StringgetUrlSelectorStrategyClassName()Get the urlSelectorStrategyClassName.StringgetUserName()Get the userName.LonggetUseTryLock()Get the useTryLock.org.jboss.jca.common.api.metadata.common.ExtensiongetValidConnectionChecker()Get the validConnectionCheckerBooleanisSetTxQueryTimeout()Get the setTxQuertTimeout.BooleanisSharePreparedStatements()Get the sharePreparedStatements.BooleanisUseJavaContext()Get the useJavaContext.BooleanisValidateOnMatch()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.
-
-