public abstract class DataSourceAbstractImpl extends java.lang.Object implements CommonDataSource
Modifier and Type | Field and Description |
---|---|
protected static CommonBundle |
bundle
The bundle
|
protected java.lang.Boolean |
connectable
Connectable
|
protected java.lang.String |
driver
Driver
|
protected java.lang.Boolean |
enabled
enabled
|
protected java.lang.Boolean |
enlistmentTrace
Enlistment trace
|
protected java.lang.String |
jndiName
jndiName
|
protected java.lang.String |
mcp
MCP
|
protected java.lang.String |
newConnectionSql
New connection SQL
|
protected java.lang.String |
poolName
poolName
|
protected DsSecurity |
security
security
|
protected java.lang.Boolean |
spy
spy
|
protected Statement |
statement
statement
|
protected TimeOut |
timeOut
timeOut
|
protected java.lang.Boolean |
tracking
Tracking
|
protected TransactionIsolation |
transactionIsolation
transactionIsolation
|
protected java.lang.String |
urlDelimiter
urlDelimiter
|
protected java.lang.String |
urlSelectorStrategyClassName
urlSelectorStrategyClassName
|
protected java.lang.Boolean |
useCcm
use-ccm
|
protected java.lang.Boolean |
useJavaContext
useJavaContext
|
protected Validation |
validation
validation
|
Modifier | Constructor and Description |
---|---|
protected |
DataSourceAbstractImpl(TransactionIsolation transactionIsolation,
TimeOut timeOut,
DsSecurity security,
Statement statement,
Validation validation,
java.lang.String urlDelimiter,
java.lang.String urlSelectorStrategyClassName,
java.lang.Boolean useJavaContext,
java.lang.String poolName,
java.lang.Boolean enabled,
java.lang.String jndiName,
java.lang.Boolean spy,
java.lang.Boolean useCcm,
java.lang.String driver,
java.lang.String newConnectionSql,
java.lang.Boolean connectable,
java.lang.Boolean tracking,
java.lang.String mcp,
java.lang.Boolean enlistmentTrace)
Create a new DataSourceAbstractImpl.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDriver()
Get the driver
|
java.lang.String |
getJndiName()
Get the jndiName.
|
java.lang.String |
getMcp()
Get the mcp
|
java.lang.String |
getNewConnectionSql() |
java.lang.String |
getPoolName()
Get the poolName.
|
DsSecurity |
getSecurity()
Get the security.
|
Statement |
getStatement() |
TimeOut |
getTimeOut()
Get the timeOut
|
TransactionIsolation |
getTransactionIsolation()
Get the transactionIsolation.
|
java.lang.String |
getUrlDelimiter() |
java.lang.String |
getUrlSelectorStrategyClassName() |
Validation |
getValidation()
Get the validation.
|
int |
hashCode() |
java.lang.Boolean |
isConnectable() |
java.lang.Boolean |
isEnabled()
Get the enabled.
|
java.lang.Boolean |
isEnlistmentTrace()
Get the enlistment trace
|
java.lang.Boolean |
isSpy()
Get the spy.
|
java.lang.Boolean |
isTracking() |
java.lang.Boolean |
isUseCcm()
Get the use-ccm.
|
java.lang.Boolean |
isUseJavaContext()
Get the useJavaContext.
|
protected void |
partialCommonValidation()
Partial validation for common fields defined in this abstract class
|
void |
setEnabled(java.lang.Boolean enabled)
Set the enabled.
|
abstract java.lang.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 java.lang.String urlDelimiter
protected java.lang.String urlSelectorStrategyClassName
protected java.lang.Boolean useJavaContext
protected java.lang.String poolName
protected java.lang.Boolean enabled
protected java.lang.String jndiName
protected java.lang.Boolean spy
protected java.lang.Boolean useCcm
protected java.lang.String driver
protected java.lang.String newConnectionSql
protected java.lang.Boolean connectable
protected java.lang.Boolean tracking
protected java.lang.String mcp
protected java.lang.Boolean enlistmentTrace
protected DataSourceAbstractImpl(TransactionIsolation transactionIsolation, TimeOut timeOut, DsSecurity security, Statement statement, Validation validation, java.lang.String urlDelimiter, java.lang.String urlSelectorStrategyClassName, java.lang.Boolean useJavaContext, java.lang.String poolName, java.lang.Boolean enabled, java.lang.String jndiName, java.lang.Boolean spy, java.lang.Boolean useCcm, java.lang.String driver, java.lang.String newConnectionSql, java.lang.Boolean connectable, java.lang.Boolean tracking, java.lang.String mcp, java.lang.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 java.lang.String getUrlDelimiter()
public java.lang.String getUrlSelectorStrategyClassName()
public java.lang.Boolean isUseJavaContext()
isUseJavaContext
in interface CommonDataSource
public java.lang.String getPoolName()
getPoolName
in interface CommonDataSource
public java.lang.Boolean isEnabled()
isEnabled
in interface CommonDataSource
public java.lang.String getJndiName()
getJndiName
in interface CommonDataSource
public java.lang.Boolean isSpy()
isSpy
in interface CommonDataSource
public java.lang.Boolean isUseCcm()
isUseCcm
in interface CommonDataSource
public java.lang.String getDriver()
getDriver
in interface CommonDataSource
public java.lang.String getNewConnectionSql()
public java.lang.Boolean isConnectable()
public java.lang.Boolean isTracking()
public java.lang.String getMcp()
getMcp
in interface CommonDataSource
public java.lang.Boolean isEnlistmentTrace()
isEnlistmentTrace
in interface CommonDataSource
public void setEnabled(java.lang.Boolean enabled)
setEnabled
in interface CommonDataSource
enabled
- The enabled to set.protected void partialCommonValidation() throws ValidateException
ValidateException
- ValidateExceptionpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public abstract java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)