public class XADataSourceImpl extends DataSourceAbstractImpl implements XaDataSource
XaDataSource.Attribute, XaDataSource.Tag| Modifier and Type | Field and Description |
|---|---|
protected Recovery |
recovery
The recovery
|
protected String |
urlProperty
The url property
|
protected String |
xaDataSourceClass
The class
|
protected HashMap<String,String> |
xaDataSourceProperty
The properties
|
protected DsXaPool |
xaPool
The XA pool
|
bundle, connectable, driver, enabled, enlistmentTrace, jndiName, mcp, newConnectionSql, poolName, security, spy, statement, timeOut, tracking, transactionIsolation, urlDelimiter, urlSelectorStrategyClassName, useCcm, useJavaContext, validation| Constructor and Description |
|---|
XADataSourceImpl(TransactionIsolation transactionIsolation,
TimeOut timeOut,
DsSecurity security,
Statement statement,
Validation validation,
String urlDelimiter,
String urlProperty,
String urlSelectorStrategyClassName,
Boolean useJavaContext,
String poolName,
Boolean enabled,
String jndiName,
Boolean spy,
Boolean useCcm,
Boolean connectable,
Boolean tracking,
String mcp,
Boolean enlistmentTrace,
Map<String,String> xaDataSourceProperty,
String xaDataSourceClass,
String driver,
String newConnectionSql,
DsXaPool xaPool,
Recovery recovery)
Create a new XADataSourceImpl.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
void |
forceXaDataSourceClass(String xaDataSourceClass)
Set the xaDataSourceClass.
|
Recovery |
getRecovery() |
String |
getUrlProperty() |
String |
getXaDataSourceClass() |
Map<String,String> |
getXaDataSourceProperty() |
DsXaPool |
getXaPool() |
int |
hashCode() |
String |
toString() |
void |
validate() |
getDriver, getJndiName, getMcp, getNewConnectionSql, getPoolName, getSecurity, getStatement, getTimeOut, getTransactionIsolation, getUrlDelimiter, getUrlSelectorStrategyClassName, getValidation, isConnectable, isEnabled, isEnlistmentTrace, isSpy, isTracking, isUseCcm, isUseJavaContext, partialCommonValidation, setEnabledclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetNewConnectionSql, getStatement, getUrlDelimiter, getUrlSelectorStrategyClassName, isConnectable, isTrackinggetDriver, getJndiName, getMcp, getPoolName, getSecurity, getTimeOut, getTransactionIsolation, getValidation, isEnabled, isEnlistmentTrace, isSpy, isUseCcm, isUseJavaContext, setEnabledprotected String xaDataSourceClass
protected DsXaPool xaPool
protected Recovery recovery
protected String urlProperty
public XADataSourceImpl(TransactionIsolation transactionIsolation, TimeOut timeOut, DsSecurity security, Statement statement, Validation validation, String urlDelimiter, String urlProperty, String urlSelectorStrategyClassName, Boolean useJavaContext, String poolName, Boolean enabled, String jndiName, Boolean spy, Boolean useCcm, Boolean connectable, Boolean tracking, String mcp, Boolean enlistmentTrace, Map<String,String> xaDataSourceProperty, String xaDataSourceClass, String driver, String newConnectionSql, DsXaPool xaPool, Recovery recovery) throws ValidateException
transactionIsolation - transactionIsolationtimeOut - timeOutsecurity - securitystatement - statementvalidation - validationurlDelimiter - urlDelimiterurlProperty - urlPropertyurlSelectorStrategyClassName - urlSelectorStrategyClassNameuseJavaContext - useJavaContextpoolName - poolNameenabled - enabledjndiName - jndiNamespy - spyuseCcm - useCcmconnectable - connectabletracking - trackingmcp - mcpenlistmentTrace - enlistmentTracexaDataSourceProperty - xaDataSourcePropertyxaDataSourceClass - xaDataSourceClassdriver - drivernewConnectionSql - newConnectionSqlxaPool - xaPoolrecovery - recoveryValidateException - ValidateExceptionpublic String getXaDataSourceClass()
getXaDataSourceClass in interface XaDataSourcepublic Map<String,String> getXaDataSourceProperty()
getXaDataSourceProperty in interface XaDataSourcepublic DsXaPool getXaPool()
getXaPool in interface XaDataSourcepublic String getUrlProperty()
getUrlProperty in interface XaDataSourcepublic Recovery getRecovery()
getRecovery in interface XaDataSourcepublic void forceXaDataSourceClass(String xaDataSourceClass)
xaDataSourceClass - The xaDataSourceClass to set.public void validate()
throws ValidateException
validate in interface ValidatableMetadataValidateExceptionpublic int hashCode()
hashCode in class DataSourceAbstractImplpublic boolean equals(Object obj)
equals in class DataSourceAbstractImplpublic String toString()
toString in class DataSourceAbstractImplCopyright © 2021 JBoss by Red Hat. All rights reserved.