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

A XaDataSource impl.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.jca.as.converters.XaDataSource |
|---|
XaDataSource.Tag |
| Constructor Summary | |
|---|---|
LegacyXaDataSourceImp(String xaDataSourceClass,
String driver,
org.jboss.jca.common.api.metadata.ds.TransactionIsolation transactionIsolation,
Map<String,String> xaDataSourceProperty)
create a LegacyXaDataSourceImp |
|
| Method Summary | |
|---|---|
LegacyXaDataSourceImp |
buildCommonPool(Integer minPoolSize,
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 |
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LegacyXaDataSourceImp(String xaDataSourceClass,
String driver,
org.jboss.jca.common.api.metadata.ds.TransactionIsolation transactionIsolation,
Map<String,String> xaDataSourceProperty)
xaDataSourceClass - xaDataSourceClassdriver - drivertransactionIsolation - transactionIsolationxaDataSourceProperty - xaDataSourceProperty| Method Detail |
|---|
public void buildXaDataSourceImpl()
throws Exception
Exception - exceptionpublic String toString()
toString in class Object
public 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 - useTryLock
Exception - exception
public LegacyXaDataSourceImp 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 LegacyXaDataSourceImp buildStatement(Boolean sharePreparedStatements,
Long preparedStatementsCacheSize,
org.jboss.jca.common.api.metadata.ds.Statement.TrackStatementsEnum trackStatements)
throws Exception
sharePreparedStatements - sharePreparedStatementspreparedStatementsCacheSize - preparedStatementsCacheSizetrackStatements - trackStatements
Exception - exception
public 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 - exceptionSorter
Exception - exception
public LegacyXaDataSourceImp buildCommonPool(Integer minPoolSize,
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 - minPoolSizemaxPoolSize - maxPoolSizeprefill - prefilluseStrictMin - useStrictMinflushStrategy - flushStrategyisSameRmOverride - isSameRmOverrideinterleaving - interleavingpadXid - padXidwrapXaResource - wrapXaResourcenoTxSeparatePool - noTxSeparatePool
Exception - exception
public 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 - jta
public 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 Boolean isNoTxSeparatePools()
CommonXa
isNoTxSeparatePools in interface CommonXapublic Boolean isTrackConnectionByTx()
CommonXa
isTrackConnectionByTx in interface CommonXapublic Integer getXaResourceTimeout()
CommonXa
getXaResourceTimeout in interface CommonXapublic String getXaDataSourceClass()
XaDataSource
getXaDataSourceClass in interface XaDataSourcepublic Map<String,String> getXaDataSourceProperty()
XaDataSource
getXaDataSourceProperty in interface XaDataSourcepublic Boolean isSameRmOverride()
XaDataSource
isSameRmOverride in interface XaDataSourcepublic Boolean isInterleaving()
XaDataSource
isInterleaving in interface XaDataSourcepublic Boolean isPadXid()
XaDataSource
isPadXid in interface XaDataSourcepublic Boolean isWrapXaResource()
XaDataSource
isWrapXaResource in interface XaDataSourcepublic void setJta(Boolean jta)
jta - jtapublic Boolean getJta()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||