|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.as.converters.LegacyTxDataSourceImpl
public class LegacyTxDataSourceImpl

A XaDataSource impl.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.jca.as.converters.LocalTxDataSource |
|---|
LocalTxDataSource.Tag |
| Constructor Summary | |
|---|---|
LegacyTxDataSourceImpl(String connectionUrl,
String driverClass,
String dataSourceClass,
String driver,
org.jboss.jca.common.api.metadata.ds.TransactionIsolation transactionIsolation,
Map<String,String> connectionProperties)
create a LegacyTxDataSourceImpl |
|
| Method Summary | |
|---|---|
LegacyTxDataSourceImpl |
buildCommonPool(Integer minPoolSize,
Integer maxPoolSize,
Boolean prefill,
Boolean useStrictMin,
org.jboss.jca.common.api.metadata.common.FlushStrategy flushStrategy)
build pool part |
void |
buildDataSourceImpl()
buildDataSourceImpl |
LegacyTxDataSourceImpl |
buildDsSecurity(String userName,
String password,
String securityDomain,
org.jboss.jca.common.api.metadata.common.Extension reauthPlugin)
build security part |
LegacyTxDataSourceImpl |
buildOther(String urlDelimiter,
String urlSelectorStrategyClassName,
String newConnectionSql,
Boolean useJavaContext,
String poolName,
Boolean enabled,
String jndiName,
Boolean spy,
Boolean useCcm,
Boolean jta)
build other properties |
LegacyTxDataSourceImpl |
buildStatement(Boolean sharePreparedStatements,
Long preparedStatementsCacheSize,
org.jboss.jca.common.api.metadata.ds.Statement.TrackStatementsEnum trackStatements)
build statement part |
LegacyTxDataSourceImpl |
buildTimeOut(Long blockingTimeoutMillis,
Long idleTimeoutMinutes,
Integer allocationRetry,
Long allocationRetryWaitMillis,
Integer xaResourceTimeout,
Boolean setTxQueryTimeout,
Long queryTimeout,
Long useTryLock)
build timeout part |
LegacyTxDataSourceImpl |
buildValidation(Boolean backgroundValidation,
Long backgroundValidationMillis,
Boolean useFastFail,
org.jboss.jca.common.api.metadata.common.Extension validConnectionChecker,
String checkValidConnectionSql,
Boolean validateOnMatch,
org.jboss.jca.common.api.metadata.common.Extension staleConnectionChecker,
org.jboss.jca.common.api.metadata.common.Extension exceptionSorter)
build validation part |
Integer |
getAllocationRetry()
Get the allocationRetryWaitMillis. |
Long |
getAllocationRetryWaitMillis()
Get the allocationRetryWaitMillis. |
Long |
getBackgroundValidationMillis()
Get the backgroundValidationMillis. |
Long |
getBlockingTimeoutMillis()
Get the blockingTimeoutMillis. |
String |
getCheckValidConnectionSql()
Get the checkValidConnectionSql. |
Map<String,String> |
getConnectionProperties()
Get the connectionProperties. |
String |
getConnectionUrl()
Get the connectionUrl. |
String |
getDriverClass()
Get the driverClass. |
org.jboss.jca.common.api.metadata.common.Extension |
getExceptionSorter()
Get the exceptionSorter |
Long |
getIdleTimeoutMinutes()
Get the idleTimeoutMinutes. |
String |
getJndiName()
Get the jndiName. |
Integer |
getMaxPoolSize()
Get the maxPoolSize. |
Integer |
getMinPoolSize()
Get the minPoolSize. |
String |
getNewConnectionSql()
Get the newConnectionSql. |
String |
getPassword()
Get the password. |
Long |
getPreparedStatementsCacheSize()
Get the preparedStatementsCacheSize. |
Long |
getQueryTimeout()
Get the queryTimeout. |
String |
getSecurityDomain()
get the security domain for pure security-domain security management |
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. |
org.jboss.jca.common.api.metadata.ds.TransactionIsolation |
getTransactionIsolation()
Get the transactionIsolation. |
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 |
isBackgroundValidation()
Get the backgroundValidation. |
boolean |
isNoTxSeparatePools()
isNoTxSeparatePools |
Boolean |
isPrefill()
Get the prefill. |
Boolean |
isSetTxQueryTimeout()
Get the setTxQuertTimeout. |
Boolean |
isSharePreparedStatements()
Get the sharePreparedStatements. |
Boolean |
isUseFastFail()
Get the useFastFail. |
Boolean |
isUseJavaContext()
Get the useJavaContext. |
Boolean |
isValidateOnMatch()
Get the validateOnMatch. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LegacyTxDataSourceImpl(String connectionUrl,
String driverClass,
String dataSourceClass,
String driver,
org.jboss.jca.common.api.metadata.ds.TransactionIsolation transactionIsolation,
Map<String,String> connectionProperties)
connectionUrl - connectionUrldriverClass - driverClassdataSourceClass - dataSourceClassdriver - drivertransactionIsolation - transactionIsolationconnectionProperties - connectionProperties| Method Detail |
|---|
public void buildDataSourceImpl()
throws Exception
Exception - exceptionpublic String toString()
toString in class Object
public LegacyTxDataSourceImpl buildTimeOut(Long blockingTimeoutMillis,
Long idleTimeoutMinutes,
Integer allocationRetry,
Long allocationRetryWaitMillis,
Integer xaResourceTimeout,
Boolean setTxQueryTimeout,
Long queryTimeout,
Long useTryLock)
throws Exception
blockingTimeoutMillis - blockingTimeoutMillisidleTimeoutMinutes - idleTimeoutMinutesallocationRetry - allocationRetryallocationRetryWaitMillis - allocationRetryWaitMillisxaResourceTimeout - xaResourceTimeoutsetTxQueryTimeout - setTxQueryTimeoutqueryTimeout - queryTimeoutuseTryLock - useTryLock
Exception - exception
public LegacyTxDataSourceImpl buildDsSecurity(String userName,
String password,
String securityDomain,
org.jboss.jca.common.api.metadata.common.Extension reauthPlugin)
throws Exception
userName - userNamepassword - passwordsecurityDomain - securityDomainreauthPlugin - reauthPlugin
Exception - exception
public LegacyTxDataSourceImpl buildStatement(Boolean sharePreparedStatements,
Long preparedStatementsCacheSize,
org.jboss.jca.common.api.metadata.ds.Statement.TrackStatementsEnum trackStatements)
throws Exception
sharePreparedStatements - sharePreparedStatementspreparedStatementsCacheSize - preparedStatementsCacheSizetrackStatements - trackStatements
Exception - exception
public LegacyTxDataSourceImpl buildValidation(Boolean backgroundValidation,
Long backgroundValidationMillis,
Boolean useFastFail,
org.jboss.jca.common.api.metadata.common.Extension validConnectionChecker,
String checkValidConnectionSql,
Boolean validateOnMatch,
org.jboss.jca.common.api.metadata.common.Extension staleConnectionChecker,
org.jboss.jca.common.api.metadata.common.Extension exceptionSorter)
throws Exception
backgroundValidation - backgroundValidationbackgroundValidationMillis - backgroundValidationMillisuseFastFail - useFastFailvalidConnectionChecker - validConnectionCheckercheckValidConnectionSql - checkValidConnectionSqlvalidateOnMatch - validateOnMatchstaleConnectionChecker - staleConnectionCheckerexceptionSorter - exceptionSorter
Exception - exception
public LegacyTxDataSourceImpl buildCommonPool(Integer minPoolSize,
Integer maxPoolSize,
Boolean prefill,
Boolean useStrictMin,
org.jboss.jca.common.api.metadata.common.FlushStrategy flushStrategy)
throws Exception
minPoolSize - minPoolSizemaxPoolSize - maxPoolSizeprefill - prefilluseStrictMin - useStrictMinflushStrategy - flushStrategy
Exception - exception
public LegacyTxDataSourceImpl buildOther(String urlDelimiter,
String urlSelectorStrategyClassName,
String newConnectionSql,
Boolean useJavaContext,
String poolName,
Boolean enabled,
String jndiName,
Boolean spy,
Boolean useCcm,
Boolean jta)
urlDelimiter - urlDelimiterurlSelectorStrategyClassName - urlSelectorStrategyClassNamenewConnectionSql - newConnectionSqluseJavaContext - useJavaContextpoolName - poolNameenabled - enabledjndiName - jndiNamespy - spyuseCcm - useCcmjta - jta
public String getConnectionUrl()
NoTxDataSource
getConnectionUrl in interface NoTxDataSourcepublic String getDriverClass()
NoTxDataSource
getDriverClass in interface NoTxDataSourcepublic Map<String,String> getConnectionProperties()
NoTxDataSource
getConnectionProperties in interface NoTxDataSourcepublic String getJndiName()
ConnectionFactory
getJndiName in interface ConnectionFactorypublic Boolean isUseJavaContext()
DataSource
isUseJavaContext in interface DataSourcepublic String getUrlDelimiter()
DataSource
getUrlDelimiter in interface DataSourcepublic String getUrlSelectorStrategyClassName()
DataSource
getUrlSelectorStrategyClassName in interface DataSourcepublic String getUserName()
DataSource
getUserName in interface DataSourcepublic String getPassword()
DataSource
getPassword in interface DataSourcepublic String getSecurityDomain()
ConnectionFactory
getSecurityDomain in interface ConnectionFactorypublic Integer getMinPoolSize()
ConnectionFactory
getMinPoolSize in interface ConnectionFactorypublic Integer getMaxPoolSize()
ConnectionFactory
getMaxPoolSize in interface ConnectionFactorypublic Long getBlockingTimeoutMillis()
ConnectionFactory
getBlockingTimeoutMillis in interface ConnectionFactorypublic Boolean isBackgroundValidation()
ConnectionFactory
isBackgroundValidation in interface ConnectionFactorypublic Long getBackgroundValidationMillis()
ConnectionFactory
getBackgroundValidationMillis in interface ConnectionFactorypublic Long getIdleTimeoutMinutes()
ConnectionFactory
getIdleTimeoutMinutes in interface ConnectionFactorypublic Integer getAllocationRetry()
ConnectionFactory
getAllocationRetry in interface ConnectionFactorypublic Long getAllocationRetryWaitMillis()
ConnectionFactory
getAllocationRetryWaitMillis in interface ConnectionFactorypublic Boolean isValidateOnMatch()
DataSource
isValidateOnMatch in interface DataSourcepublic String getNewConnectionSql()
DataSource
getNewConnectionSql in interface DataSourcepublic String getCheckValidConnectionSql()
DataSource
getCheckValidConnectionSql in interface DataSourcepublic org.jboss.jca.common.api.metadata.common.Extension getValidConnectionChecker()
DataSource
getValidConnectionChecker in interface DataSourcepublic org.jboss.jca.common.api.metadata.common.Extension getExceptionSorter()
DataSource
getExceptionSorter in interface DataSourcepublic org.jboss.jca.common.api.metadata.common.Extension getStaleConnectionChecker()
DataSource
getStaleConnectionChecker in interface DataSourcepublic org.jboss.jca.common.api.metadata.ds.Statement.TrackStatementsEnum getTrackStatements()
DataSource
getTrackStatements in interface DataSourcepublic Boolean isPrefill()
ConnectionFactory
isPrefill in interface ConnectionFactorypublic Boolean isUseFastFail()
ConnectionFactory
isUseFastFail in interface ConnectionFactorypublic Long getPreparedStatementsCacheSize()
DataSource
getPreparedStatementsCacheSize in interface DataSourcepublic Boolean isSharePreparedStatements()
DataSource
isSharePreparedStatements in interface DataSourcepublic Boolean isSetTxQueryTimeout()
DataSource
isSetTxQueryTimeout in interface DataSourcepublic Long getQueryTimeout()
DataSource
getQueryTimeout in interface DataSourcepublic Long getUseTryLock()
DataSource
getUseTryLock in interface DataSourcepublic org.jboss.jca.common.api.metadata.ds.TransactionIsolation getTransactionIsolation()
LocalTxDataSource
getTransactionIsolation in interface LocalTxDataSourcepublic boolean isNoTxSeparatePools()
LocalTxDataSource
isNoTxSeparatePools in interface LocalTxDataSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||