public abstract class DataSourceAbstractImpl extends Object implements CommonDataSource
Modifier and Type | Field and Description |
---|---|
protected static CommonBundle |
bundle
The bundle
|
protected Boolean |
connectable
Connectable
|
protected String |
driver
Driver
|
protected Boolean |
enabled
enabled
|
protected Boolean |
enlistmentTrace
Enlistment trace
|
protected String |
jndiName
jndiName
|
protected String |
mcp
MCP
|
protected String |
newConnectionSql
New connection SQL
|
protected String |
poolName
poolName
|
protected DsSecurity |
security
security
|
protected Boolean |
spy
spy
|
protected Statement |
statement
statement
|
protected TimeOut |
timeOut
timeOut
|
protected Boolean |
tracking
Tracking
|
protected TransactionIsolation |
transactionIsolation
transactionIsolation
|
protected String |
urlDelimiter
urlDelimiter
|
protected String |
urlSelectorStrategyClassName
urlSelectorStrategyClassName
|
protected Boolean |
useCcm
use-ccm
|
protected Boolean |
useJavaContext
useJavaContext
|
protected Validation |
validation
validation
|
Modifier | Constructor and Description |
---|---|
protected |
DataSourceAbstractImpl(TransactionIsolation transactionIsolation,
TimeOut timeOut,
DsSecurity security,
Statement statement,
Validation validation,
String urlDelimiter,
String urlSelectorStrategyClassName,
Boolean useJavaContext,
String poolName,
Boolean enabled,
String jndiName,
Boolean spy,
Boolean useCcm,
String driver,
String newConnectionSql,
Boolean connectable,
Boolean tracking,
String mcp,
Boolean enlistmentTrace)
Create a new DataSourceAbstractImpl.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDriver() |
String |
getJndiName() |
String |
getMcp() |
String |
getNewConnectionSql() |
String |
getPoolName() |
DsSecurity |
getSecurity() |
Statement |
getStatement() |
TimeOut |
getTimeOut() |
TransactionIsolation |
getTransactionIsolation() |
String |
getUrlDelimiter() |
String |
getUrlSelectorStrategyClassName() |
Validation |
getValidation() |
int |
hashCode() |
Boolean |
isConnectable() |
Boolean |
isEnabled() |
Boolean |
isEnlistmentTrace() |
Boolean |
isSpy() |
Boolean |
isTracking() |
Boolean |
isUseCcm() |
Boolean |
isUseJavaContext() |
protected void |
partialCommonValidation()
Partial validation for common fields defined in this abstract class
|
void |
setEnabled(Boolean enabled) |
abstract String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
validate
protected static CommonBundle bundle
protected TransactionIsolation transactionIsolation
protected TimeOut timeOut
protected DsSecurity security
protected Statement statement
protected Validation validation
protected String urlDelimiter
protected String urlSelectorStrategyClassName
protected Boolean useJavaContext
protected String poolName
protected Boolean enabled
protected String jndiName
protected Boolean spy
protected Boolean useCcm
protected String driver
protected String newConnectionSql
protected Boolean connectable
protected Boolean tracking
protected String mcp
protected Boolean enlistmentTrace
protected DataSourceAbstractImpl(TransactionIsolation transactionIsolation, TimeOut timeOut, DsSecurity security, Statement statement, Validation validation, String urlDelimiter, String urlSelectorStrategyClassName, Boolean useJavaContext, String poolName, Boolean enabled, String jndiName, Boolean spy, Boolean useCcm, String driver, String newConnectionSql, Boolean connectable, Boolean tracking, String mcp, Boolean enlistmentTrace) throws ValidateException
transactionIsolation
- transactionIsolationtimeOut
- timeOutsecurity
- securitystatement
- statementvalidation
- validationurlDelimiter
- urlDelimiterurlSelectorStrategyClassName
- urlSelectorStrategyClassNameuseJavaContext
- useJavaContextpoolName
- poolNameenabled
- enabledjndiName
- jndiNamespy
- spyuseCcm
- useCcmdriver
- drivernewConnectionSql
- newConnectionSqlconnectable
- connectabletracking
- trackingmcp
- mcpenlistmentTrace
- enlistmentTraceValidateException
- ValidateExceptionpublic TransactionIsolation getTransactionIsolation()
getTransactionIsolation
in interface CommonDataSource
public TimeOut getTimeOut()
getTimeOut
in interface CommonDataSource
public DsSecurity getSecurity()
getSecurity
in interface CommonDataSource
public Validation getValidation()
getValidation
in interface CommonDataSource
public Statement getStatement()
public String getUrlDelimiter()
public String getUrlSelectorStrategyClassName()
public Boolean isUseJavaContext()
isUseJavaContext
in interface CommonDataSource
public String getPoolName()
getPoolName
in interface CommonDataSource
public Boolean isEnabled()
isEnabled
in interface CommonDataSource
public String getJndiName()
getJndiName
in interface CommonDataSource
public Boolean isSpy()
isSpy
in interface CommonDataSource
public Boolean isUseCcm()
isUseCcm
in interface CommonDataSource
public String getDriver()
getDriver
in interface CommonDataSource
public String getNewConnectionSql()
public Boolean isConnectable()
public Boolean isTracking()
public String getMcp()
getMcp
in interface CommonDataSource
public Boolean isEnlistmentTrace()
isEnlistmentTrace
in interface CommonDataSource
public void setEnabled(Boolean enabled)
setEnabled
in interface CommonDataSource
protected void partialCommonValidation() throws ValidateException
ValidateException
- ValidateExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.