public interface ConnectionDefintionType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
connection-defintionType
xsd typeType | Property and Description |
---|---|
ConfigPropertyType<ConnectionDefintionType<T>> |
createConfig
Creates a new
config-property element |
ConnectionDefintionType<T> |
removeAllConfig
Removes all
config-property elements |
Modifier and Type | Method and Description |
---|---|
ConnectionDefintionType<T> |
className(String className)
Sets the
class-name attribute |
ConfigPropertyType<ConnectionDefintionType<T>> |
createConfigProperty()
Creates a new
config-property element |
ConnectionDefintionType<T> |
enabled(Boolean enabled)
Sets the
enabled attribute |
List<ConfigPropertyType<ConnectionDefintionType<T>>> |
getAllConfigProperty()
Returns all
config-property elements |
String |
getClassName()
Returns the
class-name attribute |
String |
getJndiName()
Returns the
jndi-name attribute |
ConfigPropertyType<ConnectionDefintionType<T>> |
getOrCreateConfigProperty()
If not already created, a new
config-property element will be created and returned. |
PoolType<ConnectionDefintionType<T>> |
getOrCreatePool()
If not already created, a new
pool element with the given value will be created. |
RecoverType<ConnectionDefintionType<T>> |
getOrCreateRecovery()
If not already created, a new
recovery element with the given value will be created. |
SecurityType<ConnectionDefintionType<T>> |
getOrCreateSecurity()
If not already created, a new
security element with the given value will be created. |
TimeoutType<ConnectionDefintionType<T>> |
getOrCreateTimeout()
If not already created, a new
timeout element with the given value will be created. |
ValidationType<ConnectionDefintionType<T>> |
getOrCreateValidation()
If not already created, a new
validation element with the given value will be created. |
XaPoolType<ConnectionDefintionType<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 |
isEnabled()
Returns the
enabled attribute |
Boolean |
isUseCcm()
Returns the
use-ccm attribute |
Boolean |
isUseJavaContext()
Returns the
use-java-context attribute |
ConnectionDefintionType<T> |
jndiName(String jndiName)
Sets the
jndi-name attribute |
ConnectionDefintionType<T> |
poolName(String poolName)
Sets the
pool-name attribute |
ConnectionDefintionType<T> |
removeAllConfigProperty()
Removes all
config-property elements |
ConnectionDefintionType<T> |
removeClassName()
Removes the
class-name attribute |
ConnectionDefintionType<T> |
removeEnabled()
Removes the
enabled attribute |
ConnectionDefintionType<T> |
removeJndiName()
Removes the
jndi-name attribute |
ConnectionDefintionType<T> |
removePool()
Removes the
pool element |
ConnectionDefintionType<T> |
removePoolName()
Removes the
pool-name attribute |
ConnectionDefintionType<T> |
removeRecovery()
Removes the
recovery element |
ConnectionDefintionType<T> |
removeSecurity()
Removes the
security element |
ConnectionDefintionType<T> |
removeTimeout()
Removes the
timeout element |
ConnectionDefintionType<T> |
removeUseCcm()
Removes the
use-ccm attribute |
ConnectionDefintionType<T> |
removeUseJavaContext()
Removes the
use-java-context attribute |
ConnectionDefintionType<T> |
removeValidation()
Removes the
validation element |
ConnectionDefintionType<T> |
removeXaPool()
Removes the
xa-pool element |
ConnectionDefintionType<T> |
useCcm(Boolean useCcm)
Sets the
use-ccm attribute |
ConnectionDefintionType<T> |
useJavaContext(Boolean useJavaContext)
Sets the
use-java-context attribute |
ConfigPropertyType<ConnectionDefintionType<T>> createConfigProperty
config-property
elementConnectionDefintionType<T> removeAllConfigProperty
config-property
elementsConnectionDefintionType<T> className(String className)
class-name
attributeclassName
- the value for the attribute class-name
ConnectionDefintionType
String getClassName()
class-name
attributeclass-name
ConnectionDefintionType<T> removeClassName()
class-name
attributeConnectionDefintionType
ConnectionDefintionType<T> jndiName(String jndiName)
jndi-name
attributejndiName
- the value for the attribute jndi-name
ConnectionDefintionType
String getJndiName()
jndi-name
attributejndi-name
ConnectionDefintionType<T> removeJndiName()
jndi-name
attributeConnectionDefintionType
ConnectionDefintionType<T> enabled(Boolean enabled)
enabled
attributeenabled
- the value for the attribute enabled
ConnectionDefintionType
Boolean isEnabled()
enabled
attributeenabled
ConnectionDefintionType<T> removeEnabled()
enabled
attributeConnectionDefintionType
ConnectionDefintionType<T> useJavaContext(Boolean useJavaContext)
use-java-context
attributeuseJavaContext
- the value for the attribute use-java-context
ConnectionDefintionType
Boolean isUseJavaContext()
use-java-context
attributeuse-java-context
ConnectionDefintionType<T> removeUseJavaContext()
use-java-context
attributeConnectionDefintionType
ConnectionDefintionType<T> poolName(String poolName)
pool-name
attributepoolName
- the value for the attribute pool-name
ConnectionDefintionType
String getPoolName()
pool-name
attributepool-name
ConnectionDefintionType<T> removePoolName()
pool-name
attributeConnectionDefintionType
ConfigPropertyType<ConnectionDefintionType<T>> getOrCreateConfigProperty()
config-property
element will be created and returned.
Otherwise, the first existing config-property
element will be returned.config-property
ConfigPropertyType<ConnectionDefintionType<T>> createConfigProperty()
config-property
elementList<ConfigPropertyType<ConnectionDefintionType<T>>> getAllConfigProperty()
config-property
elementsconfig-property
ConnectionDefintionType<T> removeAllConfigProperty()
config-property
elementsPoolType<ConnectionDefintionType<T>> getOrCreatePool()
pool
element with the given value will be created.
Otherwise, the existing pool
element will be returned.PoolType>
ConnectionDefintionType<T> removePool()
pool
elementConnectionDefintionType
XaPoolType<ConnectionDefintionType<T>> getOrCreateXaPool()
xa-pool
element with the given value will be created.
Otherwise, the existing xa-pool
element will be returned.XaPoolType>
ConnectionDefintionType<T> removeXaPool()
xa-pool
elementConnectionDefintionType
SecurityType<ConnectionDefintionType<T>> getOrCreateSecurity()
security
element with the given value will be created.
Otherwise, the existing security
element will be returned.SecurityType>
ConnectionDefintionType<T> removeSecurity()
security
elementConnectionDefintionType
TimeoutType<ConnectionDefintionType<T>> getOrCreateTimeout()
timeout
element with the given value will be created.
Otherwise, the existing timeout
element will be returned.TimeoutType>
ConnectionDefintionType<T> removeTimeout()
timeout
elementConnectionDefintionType
ValidationType<ConnectionDefintionType<T>> getOrCreateValidation()
validation
element with the given value will be created.
Otherwise, the existing validation
element will be returned.ValidationType>
ConnectionDefintionType<T> removeValidation()
validation
elementConnectionDefintionType
RecoverType<ConnectionDefintionType<T>> getOrCreateRecovery()
recovery
element with the given value will be created.
Otherwise, the existing recovery
element will be returned.RecoverType>
ConnectionDefintionType<T> removeRecovery()
recovery
elementConnectionDefintionType
ConnectionDefintionType<T> useCcm(Boolean useCcm)
use-ccm
attributeuseCcm
- the value for the attribute use-ccm
ConnectionDefintionType
Boolean isUseCcm()
use-ccm
attributeuse-ccm
ConnectionDefintionType<T> removeUseCcm()
use-ccm
attributeConnectionDefintionType
Copyright © 2017 JBoss by Red Hat. All rights reserved.