
public interface ConnectionDefinitionType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
connection-definitionType xsd type| Type | Property and Description |
|---|---|
ConfigPropertyType<ConnectionDefinitionType<T>> |
createConfig
Creates a new
config-property element |
ConnectionDefinitionType<T> |
removeAllConfig
Removes all
config-property elements |
| Modifier and Type | Method and Description |
|---|---|
ConnectionDefinitionType<T> |
className(String className)
Sets the
class-name attribute |
ConnectionDefinitionType<T> |
connectable(Boolean connectable)
Sets the
connectable attribute |
ConfigPropertyType<ConnectionDefinitionType<T>> |
createConfigProperty()
Creates a new
config-property element |
ConnectionDefinitionType<T> |
enabled(Boolean enabled)
Sets the
enabled attribute |
ConnectionDefinitionType<T> |
enlistment(Boolean enlistment)
Sets the
enlistment attribute |
ConnectionDefinitionType<T> |
enlistmentTrace(Boolean enlistmentTrace)
Sets the
enlistment-trace attribute |
List<ConfigPropertyType<ConnectionDefinitionType<T>>> |
getAllConfigProperty()
Returns all
config-property elements |
String |
getClassName()
Returns the
class-name attribute |
String |
getJndiName()
Returns the
jndi-name attribute |
String |
getMcp()
Returns the
mcp attribute |
ConfigPropertyType<ConnectionDefinitionType<T>> |
getOrCreateConfigProperty()
If not already created, a new
config-property element will be created and returned. |
PoolType<ConnectionDefinitionType<T>> |
getOrCreatePool()
If not already created, a new
pool element with the given value will be created. |
RecoverType<ConnectionDefinitionType<T>> |
getOrCreateRecovery()
If not already created, a new
recovery element with the given value will be created. |
SecurityType<ConnectionDefinitionType<T>> |
getOrCreateSecurity()
If not already created, a new
security element with the given value will be created. |
TimeoutType<ConnectionDefinitionType<T>> |
getOrCreateTimeout()
If not already created, a new
timeout element with the given value will be created. |
ValidationType<ConnectionDefinitionType<T>> |
getOrCreateValidation()
If not already created, a new
validation element with the given value will be created. |
XaPoolType<ConnectionDefinitionType<T>> |
getOrCreateXaPool()
If not already created, a new
xa-pool element with the given value will be created. |
String |
getPoolName()
Returns the
pool-name attribute |
Boolean |
isConnectable()
Returns the
connectable attribute |
Boolean |
isEnabled()
Returns the
enabled attribute |
Boolean |
isEnlistment()
Returns the
enlistment attribute |
Boolean |
isEnlistmentTrace()
Returns the
enlistment-trace attribute |
Boolean |
isSharable()
Returns the
sharable attribute |
Boolean |
isTracking()
Returns the
tracking attribute |
Boolean |
isUseCcm()
Returns the
use-ccm attribute |
Boolean |
isUseJavaContext()
Returns the
use-java-context attribute |
ConnectionDefinitionType<T> |
jndiName(String jndiName)
Sets the
jndi-name attribute |
ConnectionDefinitionType<T> |
mcp(String mcp)
Sets the
mcp attribute |
ConnectionDefinitionType<T> |
poolName(String poolName)
Sets the
pool-name attribute |
ConnectionDefinitionType<T> |
removeAllConfigProperty()
Removes all
config-property elements |
ConnectionDefinitionType<T> |
removeClassName()
Removes the
class-name attribute |
ConnectionDefinitionType<T> |
removeConnectable()
Removes the
connectable attribute |
ConnectionDefinitionType<T> |
removeEnabled()
Removes the
enabled attribute |
ConnectionDefinitionType<T> |
removeEnlistment()
Removes the
enlistment attribute |
ConnectionDefinitionType<T> |
removeEnlistmentTrace()
Removes the
enlistment-trace attribute |
ConnectionDefinitionType<T> |
removeJndiName()
Removes the
jndi-name attribute |
ConnectionDefinitionType<T> |
removeMcp()
Removes the
mcp attribute |
ConnectionDefinitionType<T> |
removePool()
Removes the
pool element |
ConnectionDefinitionType<T> |
removePoolName()
Removes the
pool-name attribute |
ConnectionDefinitionType<T> |
removeRecovery()
Removes the
recovery element |
ConnectionDefinitionType<T> |
removeSecurity()
Removes the
security element |
ConnectionDefinitionType<T> |
removeSharable()
Removes the
sharable attribute |
ConnectionDefinitionType<T> |
removeTimeout()
Removes the
timeout element |
ConnectionDefinitionType<T> |
removeTracking()
Removes the
tracking attribute |
ConnectionDefinitionType<T> |
removeUseCcm()
Removes the
use-ccm attribute |
ConnectionDefinitionType<T> |
removeUseJavaContext()
Removes the
use-java-context attribute |
ConnectionDefinitionType<T> |
removeValidation()
Removes the
validation element |
ConnectionDefinitionType<T> |
removeXaPool()
Removes the
xa-pool element |
ConnectionDefinitionType<T> |
sharable(Boolean sharable)
Sets the
sharable attribute |
ConnectionDefinitionType<T> |
tracking(Boolean tracking)
Sets the
tracking attribute |
ConnectionDefinitionType<T> |
useCcm(Boolean useCcm)
Sets the
use-ccm attribute |
ConnectionDefinitionType<T> |
useJavaContext(Boolean useJavaContext)
Sets the
use-java-context attribute |
config-property elementConfigPropertyType> config-property elementsConfigPropertyType> ConnectionDefinitionType<T> className(String className)
class-name attributeclassName - the value for the attribute class-nameConnectionDefinitionTypeString getClassName()
class-name attributeclass-nameConnectionDefinitionType<T> removeClassName()
class-name attributeConnectionDefinitionTypeConnectionDefinitionType<T> jndiName(String jndiName)
jndi-name attributejndiName - the value for the attribute jndi-nameConnectionDefinitionTypeString getJndiName()
jndi-name attributejndi-nameConnectionDefinitionType<T> removeJndiName()
jndi-name attributeConnectionDefinitionTypeConnectionDefinitionType<T> enabled(Boolean enabled)
enabled attributeenabled - the value for the attribute enabledConnectionDefinitionTypeBoolean isEnabled()
enabled attributeenabledConnectionDefinitionType<T> removeEnabled()
enabled attributeConnectionDefinitionTypeConnectionDefinitionType<T> useJavaContext(Boolean useJavaContext)
use-java-context attributeuseJavaContext - the value for the attribute use-java-contextConnectionDefinitionTypeBoolean isUseJavaContext()
use-java-context attributeuse-java-contextConnectionDefinitionType<T> removeUseJavaContext()
use-java-context attributeConnectionDefinitionTypeConnectionDefinitionType<T> poolName(String poolName)
pool-name attributepoolName - the value for the attribute pool-nameConnectionDefinitionTypeString getPoolName()
pool-name attributepool-nameConnectionDefinitionType<T> removePoolName()
pool-name attributeConnectionDefinitionTypeConfigPropertyType<ConnectionDefinitionType<T>> getOrCreateConfigProperty()
config-property element will be created and returned.
Otherwise, the first existing config-property element will be returned.config-propertyConfigPropertyType<ConnectionDefinitionType<T>> createConfigProperty()
config-property elementConfigPropertyType> List<ConfigPropertyType<ConnectionDefinitionType<T>>> getAllConfigProperty()
config-property elementsconfig-propertyConnectionDefinitionType<T> removeAllConfigProperty()
config-property elementsConfigPropertyType> PoolType<ConnectionDefinitionType<T>> getOrCreatePool()
pool element with the given value will be created.
Otherwise, the existing pool element will be returned.PoolType> ConnectionDefinitionType<T> removePool()
pool elementConnectionDefinitionTypeXaPoolType<ConnectionDefinitionType<T>> getOrCreateXaPool()
xa-pool element with the given value will be created.
Otherwise, the existing xa-pool element will be returned.XaPoolType> ConnectionDefinitionType<T> removeXaPool()
xa-pool elementConnectionDefinitionTypeSecurityType<ConnectionDefinitionType<T>> getOrCreateSecurity()
security element with the given value will be created.
Otherwise, the existing security element will be returned.SecurityType> ConnectionDefinitionType<T> removeSecurity()
security elementConnectionDefinitionTypeTimeoutType<ConnectionDefinitionType<T>> getOrCreateTimeout()
timeout element with the given value will be created.
Otherwise, the existing timeout element will be returned.TimeoutType> ConnectionDefinitionType<T> removeTimeout()
timeout elementConnectionDefinitionTypeValidationType<ConnectionDefinitionType<T>> getOrCreateValidation()
validation element with the given value will be created.
Otherwise, the existing validation element will be returned.ValidationType> ConnectionDefinitionType<T> removeValidation()
validation elementConnectionDefinitionTypeRecoverType<ConnectionDefinitionType<T>> getOrCreateRecovery()
recovery element with the given value will be created.
Otherwise, the existing recovery element will be returned.RecoverType> ConnectionDefinitionType<T> removeRecovery()
recovery elementConnectionDefinitionTypeConnectionDefinitionType<T> useCcm(Boolean useCcm)
use-ccm attributeuseCcm - the value for the attribute use-ccmConnectionDefinitionTypeBoolean isUseCcm()
use-ccm attributeuse-ccmConnectionDefinitionType<T> removeUseCcm()
use-ccm attributeConnectionDefinitionTypeConnectionDefinitionType<T> sharable(Boolean sharable)
sharable attributesharable - the value for the attribute sharableConnectionDefinitionTypeBoolean isSharable()
sharable attributesharableConnectionDefinitionType<T> removeSharable()
sharable attributeConnectionDefinitionTypeConnectionDefinitionType<T> enlistment(Boolean enlistment)
enlistment attributeenlistment - the value for the attribute enlistmentConnectionDefinitionTypeBoolean isEnlistment()
enlistment attributeenlistmentConnectionDefinitionType<T> removeEnlistment()
enlistment attributeConnectionDefinitionTypeConnectionDefinitionType<T> connectable(Boolean connectable)
connectable attributeconnectable - the value for the attribute connectableConnectionDefinitionTypeBoolean isConnectable()
connectable attributeconnectableConnectionDefinitionType<T> removeConnectable()
connectable attributeConnectionDefinitionTypeConnectionDefinitionType<T> tracking(Boolean tracking)
tracking attributetracking - the value for the attribute trackingConnectionDefinitionTypeBoolean isTracking()
tracking attributetrackingConnectionDefinitionType<T> removeTracking()
tracking attributeConnectionDefinitionTypeConnectionDefinitionType<T> mcp(String mcp)
mcp attributemcp - the value for the attribute mcpConnectionDefinitionTypeString getMcp()
mcp attributemcpConnectionDefinitionType<T> removeMcp()
mcp attributeConnectionDefinitionTypeConnectionDefinitionType<T> enlistmentTrace(Boolean enlistmentTrace)
enlistment-trace attributeenlistmentTrace - the value for the attribute enlistment-traceConnectionDefinitionTypeBoolean isEnlistmentTrace()
enlistment-trace attributeenlistment-traceConnectionDefinitionType<T> removeEnlistmentTrace()
enlistment-trace attributeConnectionDefinitionTypeCopyright © 2014 IronJacamar (http://www.ironjacamar.org)