public class LegacyXaDataSourceImp extends Object implements XaDataSource
XaDataSource.Tag| Constructor and Description |
|---|
LegacyXaDataSourceImp(String xaDataSourceClass,
String driver,
org.jboss.jca.common.api.metadata.ds.TransactionIsolation transactionIsolation,
Map<String,String> xaDataSourceProperty)
create a LegacyXaDataSourceImp
|
| Modifier and Type | Method and Description |
|---|---|
LegacyXaDataSourceImp |
buildCommonPool(Integer minPoolSize,
Integer initialPoolSize,
Integer maxPoolSize,
Boolean prefill,
Boolean useStrictMin,
org.jboss.jca.common.api.metadata.common.FlushStrategy flushStrategy,
Boolean isSameRmOverride,
Boolean interleaving,
Boolean padXid,
Boolean wrapXaResource,
Boolean noTxSeparatePool)
build pool part
|
LegacyXaDataSourceImp |
buildDsSecurity(String userName,
String password,
String securityDomain,
org.jboss.jca.common.api.metadata.common.Extension reauthPlugin)
build security part
|
LegacyXaDataSourceImp |
buildOther(String urlDelimiter,
String urlSelectorStrategyClassName,
String newConnectionSql,
Boolean useJavaContext,
String poolName,
Boolean enabled,
String jndiName,
Boolean spy,
Boolean useCcm,
Boolean jta)
build other properties
|
LegacyXaDataSourceImp |
buildRecovery(String recoveryUsername,
String recoveryPassword,
Boolean noRecovery)
build recovery part
|
LegacyXaDataSourceImp |
buildStatement(Boolean sharePreparedStatements,
Long preparedStatementsCacheSize,
org.jboss.jca.common.api.metadata.ds.Statement.TrackStatementsEnum trackStatements)
build statement part
|
LegacyXaDataSourceImp |
buildTimeOut(Long blockingTimeoutMillis,
Long idleTimeoutMinutes,
Integer allocationRetry,
Long allocationRetryWaitMillis,
Integer xaResourceTimeout,
Boolean setTxQueryTimeout,
Long queryTimeout,
Long useTryLock)
build timeout part
|
LegacyXaDataSourceImp |
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
|
void |
buildXaDataSourceImpl()
buildXaDataSourceImpl
|
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.
|
org.jboss.jca.common.api.metadata.common.Extension |
getExceptionSorter()
Get the exceptionSorter
|
Long |
getIdleTimeoutMinutes()
Get the idleTimeoutMinutes.
|
String |
getJndiName()
Get the jndiName.
|
Boolean |
getJta()
getJta
|
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.
|
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
|
String |
getXaDataSourceClass()
Get the xaDataSourceClass.
|
Map<String,String> |
getXaDataSourceProperty()
Get the xaDataSourceProperty.
|
Integer |
getXaResourceTimeout()
Get the xaResourceTimeout.
|
Boolean |
isBackgroundValidation()
Get the backgroundValidation.
|
Boolean |
isInterleaving()
Get the interleaving.
|
Boolean |
isNoTxSeparatePools()
Get the noTxSeparatePools.
|
Boolean |
isPadXid()
Get the padXid.
|
Boolean |
isPrefill()
Get the prefill.
|
Boolean |
isSameRmOverride()
Get the isSameRmOverride.
|
Boolean |
isSetTxQueryTimeout()
Get the setTxQuertTimeout.
|
Boolean |
isSharePreparedStatements()
Get the sharePreparedStatements.
|
Boolean |
isTrackConnectionByTx()
Get the TrackConnectionByTx.
|
Boolean |
isUseFastFail()
Get the useFastFail.
|
Boolean |
isUseJavaContext()
Get the useJavaContext.
|
Boolean |
isValidateOnMatch()
Get the validateOnMatch.
|
Boolean |
isWrapXaResource()
Get the wrapXaResource.
|
void |
setJta(Boolean jta)
setJta
|
String |
toString() |
public LegacyXaDataSourceImp(String xaDataSourceClass, String driver, org.jboss.jca.common.api.metadata.ds.TransactionIsolation transactionIsolation, Map<String,String> xaDataSourceProperty)
xaDataSourceClass - xaDataSourceClassdriver - drivertransactionIsolation - transactionIsolationxaDataSourceProperty - xaDataSourcePropertypublic void buildXaDataSourceImpl()
throws Exception
Exception - exceptionpublic LegacyXaDataSourceImp 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 - useTryLockException - exceptionpublic LegacyXaDataSourceImp buildDsSecurity(String userName, String password, String securityDomain, org.jboss.jca.common.api.metadata.common.Extension reauthPlugin) throws Exception
userName - userNamepassword - passwordsecurityDomain - securityDomainreauthPlugin - reauthPluginException - exceptionpublic LegacyXaDataSourceImp buildStatement(Boolean sharePreparedStatements, Long preparedStatementsCacheSize, org.jboss.jca.common.api.metadata.ds.Statement.TrackStatementsEnum trackStatements) throws Exception
sharePreparedStatements - sharePreparedStatementspreparedStatementsCacheSize - preparedStatementsCacheSizetrackStatements - trackStatementsException - exceptionpublic LegacyXaDataSourceImp 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 - exceptionSorterException - exceptionpublic LegacyXaDataSourceImp buildCommonPool(Integer minPoolSize, Integer initialPoolSize, Integer maxPoolSize, Boolean prefill, Boolean useStrictMin, org.jboss.jca.common.api.metadata.common.FlushStrategy flushStrategy, Boolean isSameRmOverride, Boolean interleaving, Boolean padXid, Boolean wrapXaResource, Boolean noTxSeparatePool) throws Exception
minPoolSize - minPoolSizeinitialPoolSize - initialPoolSizemaxPoolSize - maxPoolSizeprefill - prefilluseStrictMin - useStrictMinflushStrategy - flushStrategyisSameRmOverride - isSameRmOverrideinterleaving - interleavingpadXid - padXidwrapXaResource - wrapXaResourcenoTxSeparatePool - noTxSeparatePoolException - exceptionpublic LegacyXaDataSourceImp buildRecovery(String recoveryUsername, String recoveryPassword, Boolean noRecovery) throws Exception
recoveryUsername - recoveryUsernamerecoveryPassword - recoveryPasswordnoRecovery - noRecoveryException - exceptionpublic LegacyXaDataSourceImp 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 - jtapublic String getJndiName()
ConnectionFactorygetJndiName in interface ConnectionFactorypublic Boolean isUseJavaContext()
DataSourceisUseJavaContext in interface DataSourcepublic String getUrlDelimiter()
DataSourcegetUrlDelimiter in interface DataSourcepublic String getUrlSelectorStrategyClassName()
DataSourcegetUrlSelectorStrategyClassName in interface DataSourcepublic String getUserName()
DataSourcegetUserName in interface DataSourcepublic String getPassword()
DataSourcegetPassword in interface DataSourcepublic String getSecurityDomain()
ConnectionFactorygetSecurityDomain in interface ConnectionFactorypublic Integer getMinPoolSize()
ConnectionFactorygetMinPoolSize in interface ConnectionFactorypublic Integer getMaxPoolSize()
ConnectionFactorygetMaxPoolSize in interface ConnectionFactorypublic Long getBlockingTimeoutMillis()
ConnectionFactorygetBlockingTimeoutMillis in interface ConnectionFactorypublic Boolean isBackgroundValidation()
ConnectionFactoryisBackgroundValidation in interface ConnectionFactorypublic Long getBackgroundValidationMillis()
ConnectionFactorygetBackgroundValidationMillis in interface ConnectionFactorypublic Long getIdleTimeoutMinutes()
ConnectionFactorygetIdleTimeoutMinutes in interface ConnectionFactorypublic Integer getAllocationRetry()
ConnectionFactorygetAllocationRetry in interface ConnectionFactorypublic Long getAllocationRetryWaitMillis()
ConnectionFactorygetAllocationRetryWaitMillis in interface ConnectionFactorypublic Boolean isValidateOnMatch()
DataSourceisValidateOnMatch in interface DataSourcepublic String getNewConnectionSql()
DataSourcegetNewConnectionSql in interface DataSourcepublic 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 Boolean isPrefill()
ConnectionFactoryisPrefill in interface ConnectionFactorypublic Boolean isUseFastFail()
ConnectionFactoryisUseFastFail in interface ConnectionFactorypublic Long getPreparedStatementsCacheSize()
DataSourcegetPreparedStatementsCacheSize in interface DataSourcepublic Boolean isSharePreparedStatements()
DataSourceisSharePreparedStatements in interface DataSourcepublic Boolean isSetTxQueryTimeout()
DataSourceisSetTxQueryTimeout in interface DataSourcepublic Long getQueryTimeout()
DataSourcegetQueryTimeout in interface DataSourcepublic Long getUseTryLock()
DataSourcegetUseTryLock in interface DataSourcepublic Boolean isNoTxSeparatePools()
CommonXaisNoTxSeparatePools in interface CommonXapublic Boolean isTrackConnectionByTx()
CommonXaisTrackConnectionByTx in interface CommonXapublic Integer getXaResourceTimeout()
CommonXagetXaResourceTimeout in interface CommonXapublic String getXaDataSourceClass()
XaDataSourcegetXaDataSourceClass in interface XaDataSourcepublic Map<String,String> getXaDataSourceProperty()
XaDataSourcegetXaDataSourceProperty in interface XaDataSourcepublic Boolean isSameRmOverride()
XaDataSourceisSameRmOverride in interface XaDataSourcepublic Boolean isInterleaving()
XaDataSourceisInterleaving in interface XaDataSourcepublic Boolean isPadXid()
XaDataSourceisPadXid in interface XaDataSourcepublic Boolean isWrapXaResource()
XaDataSourceisWrapXaResource in interface XaDataSourcepublic void setJta(Boolean jta)
jta - jtapublic Boolean getJta()
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)