public class ConnectionDefinitionImpl extends java.lang.Object implements ConnectionDefinition
ConnectionDefinition.Attribute, ConnectionDefinition.Tag
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
className
class-name
|
protected java.util.Map<java.lang.String,java.lang.String> |
configProperties
config-property
|
protected java.lang.Boolean |
enabled
enable
|
protected java.lang.Boolean |
enlistment
Enlistment
|
protected java.lang.Boolean |
isXA
isXA
|
protected java.lang.String |
jndiName
jndi-name
|
protected Pool |
pool
pool
|
protected java.lang.String |
poolName
pool-name
|
protected Recovery |
recovery
recovery
|
protected Security |
security
security
|
protected java.lang.Boolean |
sharable
Sharable
|
protected TimeOut |
timeOut
timeout
|
protected java.lang.Boolean |
useCcm
use-ccm
|
protected java.lang.Boolean |
useJavaContext
use-java-context
|
protected Validation |
validation
validation
|
Constructor and Description |
---|
ConnectionDefinitionImpl(java.util.Map<java.lang.String,java.lang.String> configProperties,
java.lang.String className,
java.lang.String jndiName,
java.lang.String poolName,
java.lang.Boolean enabled,
java.lang.Boolean useJavaContext,
java.lang.Boolean useCcm,
java.lang.Boolean sharable,
java.lang.Boolean enlistment,
java.lang.Boolean connectable,
java.lang.Boolean tracking,
java.lang.String mcp,
java.lang.Boolean enlistmentTrace,
Pool pool,
TimeOut timeOut,
Validation validation,
Security security,
Recovery recovery,
java.lang.Boolean isXA)
Create a new ConnectionDefinition.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClassName()
Get the className.
|
java.util.Map<java.lang.String,java.lang.String> |
getConfigProperties()
Get the configProperties.
|
java.lang.String |
getJndiName()
Get the jndiName.
|
java.lang.String |
getMcp()
Get mcp
|
Pool |
getPool()
Get the pool.
|
java.lang.String |
getPoolName()
Get the poolName.
|
Recovery |
getRecovery()
Get the recovery settings.
|
Security |
getSecurity()
Get the security.
|
TimeOut |
getTimeOut()
Get the timeOut.
|
Validation |
getValidation()
Get the validation.
|
int |
hashCode() |
java.lang.Boolean |
isConnectable()
Get the connectable flag
|
java.lang.Boolean |
isEnabled()
Get the enabled.
|
java.lang.Boolean |
isEnlistment()
Get the enlistment
|
java.lang.Boolean |
isEnlistmentTrace()
Get the enlistment trace
|
java.lang.Boolean |
isSharable()
Get the sharable
|
java.lang.Boolean |
isTracking()
Get the tracking flag
|
java.lang.Boolean |
isUseCcm()
Get the useCcm.
|
java.lang.Boolean |
isUseJavaContext()
Get the useJavaContext.
|
java.lang.Boolean |
isXa()
Return true if this connectionDefnition have defined an XaPool
|
java.lang.String |
toString() |
protected java.util.Map<java.lang.String,java.lang.String> configProperties
protected java.lang.String className
protected java.lang.String jndiName
protected java.lang.String poolName
protected java.lang.Boolean enabled
protected java.lang.Boolean useJavaContext
protected java.lang.Boolean useCcm
protected Pool pool
protected TimeOut timeOut
protected Validation validation
protected Security security
protected Recovery recovery
protected java.lang.Boolean isXA
protected java.lang.Boolean sharable
protected java.lang.Boolean enlistment
public ConnectionDefinitionImpl(java.util.Map<java.lang.String,java.lang.String> configProperties, java.lang.String className, java.lang.String jndiName, java.lang.String poolName, java.lang.Boolean enabled, java.lang.Boolean useJavaContext, java.lang.Boolean useCcm, java.lang.Boolean sharable, java.lang.Boolean enlistment, java.lang.Boolean connectable, java.lang.Boolean tracking, java.lang.String mcp, java.lang.Boolean enlistmentTrace, Pool pool, TimeOut timeOut, Validation validation, Security security, Recovery recovery, java.lang.Boolean isXA)
configProperties
- configPropertiesclassName
- classNamejndiName
- jndiNamepoolName
- poolNameenabled
- enableduseJavaContext
- useJavaContextuseCcm
- useCcmsharable
- sharableenlistment
- enlistmentconnectable
- connectabletracking
- trackingmcp
- mcpenlistmentTrace
- enlistmentTracepool
- pooltimeOut
- timeOutvalidation
- validationsecurity
- securityrecovery
- recoveryisXA
- isXApublic java.util.Map<java.lang.String,java.lang.String> getConfigProperties()
getConfigProperties
in interface ConnectionDefinition
public java.lang.String getClassName()
getClassName
in interface ConnectionDefinition
public java.lang.String getJndiName()
getJndiName
in interface ConnectionDefinition
public java.lang.String getPoolName()
getPoolName
in interface ConnectionDefinition
public java.lang.Boolean isEnabled()
isEnabled
in interface ConnectionDefinition
public java.lang.Boolean isUseJavaContext()
isUseJavaContext
in interface ConnectionDefinition
public java.lang.Boolean isUseCcm()
isUseCcm
in interface ConnectionDefinition
public Pool getPool()
getPool
in interface ConnectionDefinition
public TimeOut getTimeOut()
getTimeOut
in interface ConnectionDefinition
public Validation getValidation()
getValidation
in interface ConnectionDefinition
public Security getSecurity()
getSecurity
in interface ConnectionDefinition
public Recovery getRecovery()
getRecovery
in interface ConnectionDefinition
public java.lang.Boolean isXa()
isXa
in interface ConnectionDefinition
public java.lang.Boolean isSharable()
isSharable
in interface ConnectionDefinition
public java.lang.Boolean isEnlistment()
isEnlistment
in interface ConnectionDefinition
public java.lang.Boolean isConnectable()
isConnectable
in interface ConnectionDefinition
public java.lang.Boolean isTracking()
isTracking
in interface ConnectionDefinition
null
is container default, a value is an overridepublic java.lang.String getMcp()
getMcp
in interface ConnectionDefinition
public java.lang.Boolean isEnlistmentTrace()
isEnlistmentTrace
in interface ConnectionDefinition
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)