public abstract class DataSourceAbstractImpl extends java.lang.Object implements CommonDataSource
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
enabled
enabled
|
protected java.lang.String |
jndiName
jndiName
|
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 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)
Create a new DataSourceAbstractImpl.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getJndiName()
Get the jndiName.
|
java.lang.String |
getPoolName()
Get the poolName.
|
DsSecurity |
getSecurity()
Get the security.
|
TimeOut |
getTimeOut()
Get the timeOut
|
TransactionIsolation |
getTransactionIsolation()
Get the transactionIsolation.
|
Validation |
getValidation()
Get the validation.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
Get the enabled.
|
java.lang.Boolean |
isSpy()
Get the spy
|
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
getDriver
validate
protected final TransactionIsolation transactionIsolation
protected final TimeOut timeOut
protected final DsSecurity security
protected final Statement statement
protected final Validation validation
protected final java.lang.String urlDelimiter
protected final java.lang.String urlSelectorStrategyClassName
protected final java.lang.Boolean useJavaContext
protected final java.lang.String poolName
protected java.lang.Boolean enabled
protected final java.lang.String jndiName
protected final java.lang.Boolean spy
protected final java.lang.Boolean useCcm
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) throws ValidateException
transactionIsolation
- transactionIsolationtimeOut
- timeOutsecurity
- securitystatement
- statementvalidation
- validationurlDelimiter
- urlDelimiterurlSelectorStrategyClassName
- urlSelectorStrategyClassNameuseJavaContext
- useJavaContextpoolName
- poolNameenabled
- enabledjndiName
- jndiNamespy
- spyuseCcm
- useCcmValidateException
- ValidateExceptionpublic final TransactionIsolation getTransactionIsolation()
getTransactionIsolation
in interface CommonDataSource
public final TimeOut getTimeOut()
getTimeOut
in interface CommonDataSource
public final DsSecurity getSecurity()
getSecurity
in interface CommonDataSource
public final Validation getValidation()
getValidation
in interface CommonDataSource
public final java.lang.Boolean isUseJavaContext()
isUseJavaContext
in interface CommonDataSource
public final java.lang.String getPoolName()
getPoolName
in interface CommonDataSource
public final java.lang.Boolean isEnabled()
isEnabled
in interface CommonDataSource
public final java.lang.String getJndiName()
getJndiName
in interface CommonDataSource
public final java.lang.Boolean isSpy()
isSpy
in interface CommonDataSource
public final java.lang.Boolean isUseCcm()
isUseCcm
in interface CommonDataSource
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 final void setEnabled(java.lang.Boolean enabled)
CommonDataSource
setEnabled
in interface CommonDataSource
enabled
- The enabled to set.public abstract java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)