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, setEnabled
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getNewConnectionSql, getStatement, getUrlDelimiter, getUrlSelectorStrategyClassName, isConnectable, isTracking
getDriver, getJndiName, getMcp, getPoolName, getSecurity, getTimeOut, getTransactionIsolation, getValidation, isEnabled, isEnlistmentTrace, isSpy, isUseCcm, isUseJavaContext, setEnabled
protected 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 XaDataSource
public Map<String,String> getXaDataSourceProperty()
getXaDataSourceProperty
in interface XaDataSource
public DsXaPool getXaPool()
getXaPool
in interface XaDataSource
public String getUrlProperty()
getUrlProperty
in interface XaDataSource
public Recovery getRecovery()
getRecovery
in interface XaDataSource
public void forceXaDataSourceClass(String xaDataSourceClass)
xaDataSourceClass
- The xaDataSourceClass to set.public void validate() throws ValidateException
validate
in interface ValidatableMetadata
ValidateException
public int hashCode()
hashCode
in class DataSourceAbstractImpl
public boolean equals(Object obj)
equals
in class DataSourceAbstractImpl
public String toString()
toString
in class DataSourceAbstractImpl
Copyright © 2021 JBoss by Red Hat. All rights reserved.