public class LegacyXaDataSourceImp extends java.lang.Object implements XaDataSource
XaDataSource.Tag| Constructor and Description |
|---|
LegacyXaDataSourceImp(java.lang.String xaDataSourceClass,
java.lang.String driver,
org.jboss.jca.common.api.metadata.ds.TransactionIsolation transactionIsolation,
java.util.Map<java.lang.String,java.lang.String> xaDataSourceProperty)
create a LegacyXaDataSourceImp
|
| Modifier and Type | Method and Description |
|---|---|
LegacyXaDataSourceImp |
buildCommonPool(java.lang.Integer minPoolSize,
java.lang.Integer initialPoolSize,
java.lang.Integer maxPoolSize,
java.lang.Boolean prefill,
java.lang.Boolean useStrictMin,
org.jboss.jca.common.api.metadata.common.FlushStrategy flushStrategy,
java.lang.Boolean isSameRmOverride,
java.lang.Boolean interleaving,
java.lang.Boolean padXid,
java.lang.Boolean wrapXaResource,
java.lang.Boolean noTxSeparatePool)
build pool part
|
LegacyXaDataSourceImp |
buildDsSecurity(java.lang.String userName,
java.lang.String password,
java.lang.String securityDomain,
org.jboss.jca.common.api.metadata.common.Extension reauthPlugin)
build security part
|
LegacyXaDataSourceImp |
buildOther(java.lang.String urlDelimiter,
java.lang.String urlSelectorStrategyClassName,
java.lang.String newConnectionSql,
java.lang.Boolean useJavaContext,
java.lang.String poolName,
java.lang.Boolean enabled,
java.lang.String jndiName,
java.lang.Boolean spy,
java.lang.Boolean useCcm,
java.lang.Boolean jta)
build other properties
|
LegacyXaDataSourceImp |
buildRecovery(java.lang.String recoveryUsername,
java.lang.String recoveryPassword,
java.lang.Boolean noRecovery)
build recovery part
|
LegacyXaDataSourceImp |
buildStatement(java.lang.Boolean sharePreparedStatements,
java.lang.Long preparedStatementsCacheSize,
org.jboss.jca.common.api.metadata.ds.Statement.TrackStatementsEnum trackStatements)
build statement part
|
LegacyXaDataSourceImp |
buildTimeOut(java.lang.Long blockingTimeoutMillis,
java.lang.Long idleTimeoutMinutes,
java.lang.Integer allocationRetry,
java.lang.Long allocationRetryWaitMillis,
java.lang.Integer xaResourceTimeout,
java.lang.Boolean setTxQueryTimeout,
java.lang.Long queryTimeout,
java.lang.Long useTryLock)
build timeout part
|
LegacyXaDataSourceImp |
buildValidation(java.lang.Boolean backgroundValidation,
java.lang.Long backgroundValidationMillis,
java.lang.Boolean useFastFail,
org.jboss.jca.common.api.metadata.common.Extension validConnectionChecker,
java.lang.String checkValidConnectionSql,
java.lang.Boolean validateOnMatch,
org.jboss.jca.common.api.metadata.common.Extension staleConnectionChecker,
org.jboss.jca.common.api.metadata.common.Extension exceptionSorter)
build validation part
|
void |
buildXaDataSourceImpl()
buildXaDataSourceImpl
|
java.lang.Integer |
getAllocationRetry()
Get the allocationRetryWaitMillis.
|
java.lang.Long |
getAllocationRetryWaitMillis()
Get the allocationRetryWaitMillis.
|
java.lang.Long |
getBackgroundValidationMillis()
Get the backgroundValidationMillis.
|
java.lang.Long |
getBlockingTimeoutMillis()
Get the blockingTimeoutMillis.
|
java.lang.String |
getCheckValidConnectionSql()
Get the checkValidConnectionSql.
|
org.jboss.jca.common.api.metadata.common.Extension |
getExceptionSorter()
Get the exceptionSorter
|
java.lang.Long |
getIdleTimeoutMinutes()
Get the idleTimeoutMinutes.
|
java.lang.String |
getJndiName()
Get the jndiName.
|
java.lang.Boolean |
getJta()
getJta
|
java.lang.Integer |
getMaxPoolSize()
Get the maxPoolSize.
|
java.lang.Integer |
getMinPoolSize()
Get the minPoolSize.
|
java.lang.String |
getNewConnectionSql()
Get the newConnectionSql.
|
java.lang.String |
getPassword()
Get the password.
|
java.lang.Long |
getPreparedStatementsCacheSize()
Get the preparedStatementsCacheSize.
|
java.lang.Long |
getQueryTimeout()
Get the queryTimeout.
|
java.lang.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.
|
java.lang.String |
getUrlDelimiter()
Get the urlDelimiter.
|
java.lang.String |
getUrlSelectorStrategyClassName()
Get the urlSelectorStrategyClassName.
|
java.lang.String |
getUserName()
Get the userName.
|
java.lang.Long |
getUseTryLock()
Get the useTryLock.
|
org.jboss.jca.common.api.metadata.common.Extension |
getValidConnectionChecker()
Get the validConnectionChecker
|
java.lang.String |
getXaDataSourceClass()
Get the xaDataSourceClass.
|
java.util.Map<java.lang.String,java.lang.String> |
getXaDataSourceProperty()
Get the xaDataSourceProperty.
|
java.lang.Integer |
getXaResourceTimeout()
Get the xaResourceTimeout.
|
java.lang.Boolean |
isBackgroundValidation()
Get the backgroundValidation.
|
java.lang.Boolean |
isInterleaving()
Get the interleaving.
|
java.lang.Boolean |
isNoTxSeparatePools()
Get the noTxSeparatePools.
|
java.lang.Boolean |
isPadXid()
Get the padXid.
|
java.lang.Boolean |
isPrefill()
Get the prefill.
|
java.lang.Boolean |
isSameRmOverride()
Get the isSameRmOverride.
|
java.lang.Boolean |
isSetTxQueryTimeout()
Get the setTxQuertTimeout.
|
java.lang.Boolean |
isSharePreparedStatements()
Get the sharePreparedStatements.
|
java.lang.Boolean |
isTrackConnectionByTx()
Get the TrackConnectionByTx.
|
java.lang.Boolean |
isUseFastFail()
Get the useFastFail.
|
java.lang.Boolean |
isUseJavaContext()
Get the useJavaContext.
|
java.lang.Boolean |
isValidateOnMatch()
Get the validateOnMatch.
|
java.lang.Boolean |
isWrapXaResource()
Get the wrapXaResource.
|
void |
setJta(java.lang.Boolean jta)
setJta
|
java.lang.String |
toString() |
public LegacyXaDataSourceImp(java.lang.String xaDataSourceClass,
java.lang.String driver,
org.jboss.jca.common.api.metadata.ds.TransactionIsolation transactionIsolation,
java.util.Map<java.lang.String,java.lang.String> xaDataSourceProperty)
xaDataSourceClass - xaDataSourceClassdriver - drivertransactionIsolation - transactionIsolationxaDataSourceProperty - xaDataSourcePropertypublic void buildXaDataSourceImpl()
throws java.lang.Exception
java.lang.Exception - exceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic LegacyXaDataSourceImp buildTimeOut(java.lang.Long blockingTimeoutMillis, java.lang.Long idleTimeoutMinutes, java.lang.Integer allocationRetry, java.lang.Long allocationRetryWaitMillis, java.lang.Integer xaResourceTimeout, java.lang.Boolean setTxQueryTimeout, java.lang.Long queryTimeout, java.lang.Long useTryLock) throws java.lang.Exception
blockingTimeoutMillis - blockingTimeoutMillisidleTimeoutMinutes - idleTimeoutMinutesallocationRetry - allocationRetryallocationRetryWaitMillis - allocationRetryWaitMillisxaResourceTimeout - xaResourceTimeoutsetTxQueryTimeout - setTxQueryTimeoutqueryTimeout - queryTimeoutuseTryLock - useTryLockjava.lang.Exception - exceptionpublic LegacyXaDataSourceImp buildDsSecurity(java.lang.String userName, java.lang.String password, java.lang.String securityDomain, org.jboss.jca.common.api.metadata.common.Extension reauthPlugin) throws java.lang.Exception
userName - userNamepassword - passwordsecurityDomain - securityDomainreauthPlugin - reauthPluginjava.lang.Exception - exceptionpublic LegacyXaDataSourceImp buildStatement(java.lang.Boolean sharePreparedStatements, java.lang.Long preparedStatementsCacheSize, org.jboss.jca.common.api.metadata.ds.Statement.TrackStatementsEnum trackStatements) throws java.lang.Exception
sharePreparedStatements - sharePreparedStatementspreparedStatementsCacheSize - preparedStatementsCacheSizetrackStatements - trackStatementsjava.lang.Exception - exceptionpublic LegacyXaDataSourceImp buildValidation(java.lang.Boolean backgroundValidation, java.lang.Long backgroundValidationMillis, java.lang.Boolean useFastFail, org.jboss.jca.common.api.metadata.common.Extension validConnectionChecker, java.lang.String checkValidConnectionSql, java.lang.Boolean validateOnMatch, org.jboss.jca.common.api.metadata.common.Extension staleConnectionChecker, org.jboss.jca.common.api.metadata.common.Extension exceptionSorter) throws java.lang.Exception
backgroundValidation - backgroundValidationbackgroundValidationMillis - backgroundValidationMillisuseFastFail - useFastFailvalidConnectionChecker - validConnectionCheckercheckValidConnectionSql - checkValidConnectionSqlvalidateOnMatch - validateOnMatchstaleConnectionChecker - staleConnectionCheckerexceptionSorter - exceptionSorterjava.lang.Exception - exceptionpublic LegacyXaDataSourceImp buildCommonPool(java.lang.Integer minPoolSize, java.lang.Integer initialPoolSize, java.lang.Integer maxPoolSize, java.lang.Boolean prefill, java.lang.Boolean useStrictMin, org.jboss.jca.common.api.metadata.common.FlushStrategy flushStrategy, java.lang.Boolean isSameRmOverride, java.lang.Boolean interleaving, java.lang.Boolean padXid, java.lang.Boolean wrapXaResource, java.lang.Boolean noTxSeparatePool) throws java.lang.Exception
minPoolSize - minPoolSizeinitialPoolSize - initialPoolSizemaxPoolSize - maxPoolSizeprefill - prefilluseStrictMin - useStrictMinflushStrategy - flushStrategyisSameRmOverride - isSameRmOverrideinterleaving - interleavingpadXid - padXidwrapXaResource - wrapXaResourcenoTxSeparatePool - noTxSeparatePooljava.lang.Exception - exceptionpublic LegacyXaDataSourceImp buildRecovery(java.lang.String recoveryUsername, java.lang.String recoveryPassword, java.lang.Boolean noRecovery) throws java.lang.Exception
recoveryUsername - recoveryUsernamerecoveryPassword - recoveryPasswordnoRecovery - noRecoveryjava.lang.Exception - exceptionpublic LegacyXaDataSourceImp buildOther(java.lang.String urlDelimiter, java.lang.String urlSelectorStrategyClassName, java.lang.String newConnectionSql, java.lang.Boolean useJavaContext, java.lang.String poolName, java.lang.Boolean enabled, java.lang.String jndiName, java.lang.Boolean spy, java.lang.Boolean useCcm, java.lang.Boolean jta)
urlDelimiter - urlDelimiterurlSelectorStrategyClassName - urlSelectorStrategyClassNamenewConnectionSql - newConnectionSqluseJavaContext - useJavaContextpoolName - poolNameenabled - enabledjndiName - jndiNamespy - spyuseCcm - useCcmjta - jtapublic java.lang.String getJndiName()
ConnectionFactorygetJndiName in interface ConnectionFactorypublic java.lang.Boolean isUseJavaContext()
DataSourceisUseJavaContext in interface DataSourcepublic java.lang.String getUrlDelimiter()
DataSourcegetUrlDelimiter in interface DataSourcepublic java.lang.String getUrlSelectorStrategyClassName()
DataSourcegetUrlSelectorStrategyClassName in interface DataSourcepublic java.lang.String getUserName()
DataSourcegetUserName in interface DataSourcepublic java.lang.String getPassword()
DataSourcegetPassword in interface DataSourcepublic java.lang.String getSecurityDomain()
ConnectionFactorygetSecurityDomain in interface ConnectionFactorypublic java.lang.Integer getMinPoolSize()
ConnectionFactorygetMinPoolSize in interface ConnectionFactorypublic java.lang.Integer getMaxPoolSize()
ConnectionFactorygetMaxPoolSize in interface ConnectionFactorypublic java.lang.Long getBlockingTimeoutMillis()
ConnectionFactorygetBlockingTimeoutMillis in interface ConnectionFactorypublic java.lang.Boolean isBackgroundValidation()
ConnectionFactoryisBackgroundValidation in interface ConnectionFactorypublic java.lang.Long getBackgroundValidationMillis()
ConnectionFactorygetBackgroundValidationMillis in interface ConnectionFactorypublic java.lang.Long getIdleTimeoutMinutes()
ConnectionFactorygetIdleTimeoutMinutes in interface ConnectionFactorypublic java.lang.Integer getAllocationRetry()
ConnectionFactorygetAllocationRetry in interface ConnectionFactorypublic java.lang.Long getAllocationRetryWaitMillis()
ConnectionFactorygetAllocationRetryWaitMillis in interface ConnectionFactorypublic java.lang.Boolean isValidateOnMatch()
DataSourceisValidateOnMatch in interface DataSourcepublic java.lang.String getNewConnectionSql()
DataSourcegetNewConnectionSql in interface DataSourcepublic java.lang.String getCheckValidConnectionSql()
DataSourcegetCheckValidConnectionSql in interface DataSourcepublic org.jboss.jca.common.api.metadata.common.Extension getValidConnectionChecker()
DataSourcegetValidConnectionChecker in interface DataSourcepublic org.jboss.jca.common.api.metadata.common.Extension getExceptionSorter()
DataSourcegetExceptionSorter in interface DataSourcepublic org.jboss.jca.common.api.metadata.common.Extension getStaleConnectionChecker()
DataSourcegetStaleConnectionChecker in interface DataSourcepublic org.jboss.jca.common.api.metadata.ds.Statement.TrackStatementsEnum getTrackStatements()
DataSourcegetTrackStatements in interface DataSourcepublic java.lang.Boolean isPrefill()
ConnectionFactoryisPrefill in interface ConnectionFactorypublic java.lang.Boolean isUseFastFail()
ConnectionFactoryisUseFastFail in interface ConnectionFactorypublic java.lang.Long getPreparedStatementsCacheSize()
DataSourcegetPreparedStatementsCacheSize in interface DataSourcepublic java.lang.Boolean isSharePreparedStatements()
DataSourceisSharePreparedStatements in interface DataSourcepublic java.lang.Boolean isSetTxQueryTimeout()
DataSourceisSetTxQueryTimeout in interface DataSourcepublic java.lang.Long getQueryTimeout()
DataSourcegetQueryTimeout in interface DataSourcepublic java.lang.Long getUseTryLock()
DataSourcegetUseTryLock in interface DataSourcepublic java.lang.Boolean isNoTxSeparatePools()
CommonXaisNoTxSeparatePools in interface CommonXapublic java.lang.Boolean isTrackConnectionByTx()
CommonXaisTrackConnectionByTx in interface CommonXapublic java.lang.Integer getXaResourceTimeout()
CommonXagetXaResourceTimeout in interface CommonXapublic java.lang.String getXaDataSourceClass()
XaDataSourcegetXaDataSourceClass in interface XaDataSourcepublic java.util.Map<java.lang.String,java.lang.String> getXaDataSourceProperty()
XaDataSourcegetXaDataSourceProperty in interface XaDataSourcepublic java.lang.Boolean isSameRmOverride()
XaDataSourceisSameRmOverride in interface XaDataSourcepublic java.lang.Boolean isInterleaving()
XaDataSourceisInterleaving in interface XaDataSourcepublic java.lang.Boolean isPadXid()
XaDataSourceisPadXid in interface XaDataSourcepublic java.lang.Boolean isWrapXaResource()
XaDataSourceisWrapXaResource in interface XaDataSourcepublic void setJta(java.lang.Boolean jta)
jta - jtapublic java.lang.Boolean getJta()
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)