|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.datasources.impl.XaDatasourceTypeImpl<T>
public class XaDatasourceTypeImpl<T>
This class implements the xa-datasourceType
xsd type
Constructor Summary | |
---|---|
XaDatasourceTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node)
|
|
XaDatasourceTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node,
org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
|
Method Summary | |
---|---|
XaDatasourcePropertyType<XaDatasourceType<T>> |
createXaDatasourceProperty()
Creates a new xa-datasource-property element |
XaDatasourceType<T> |
driver(String driver)
Sets the driver element |
XaDatasourceType<T> |
enabled(Boolean enabled)
Sets the enabled attribute |
List<XaDatasourcePropertyType<XaDatasourceType<T>>> |
getAllXaDatasourceProperty()
Returns all xa-datasource-property elements |
String |
getDriver()
Returns the driver element |
String |
getJndiName()
Returns the jndi-name attribute |
String |
getNewConnectionSql()
Returns the new-connection-sql element |
RecoverType<XaDatasourceType<T>> |
getOrCreateRecovery()
If not already created, a new recovery element with the given value will be created. |
DsSecurityType<XaDatasourceType<T>> |
getOrCreateSecurity()
If not already created, a new security element with the given value will be created. |
StatementType<XaDatasourceType<T>> |
getOrCreateStatement()
If not already created, a new statement element with the given value will be created. |
TimeoutType<XaDatasourceType<T>> |
getOrCreateTimeout()
If not already created, a new timeout element with the given value will be created. |
ValidationType<XaDatasourceType<T>> |
getOrCreateValidation()
If not already created, a new validation element with the given value will be created. |
XaDatasourcePropertyType<XaDatasourceType<T>> |
getOrCreateXaDatasourceProperty()
If not already created, a new xa-datasource-property element will be created and returned. |
XaPoolType<XaDatasourceType<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 |
TransactionIsolationType |
getTransactionIsolation()
Returns the transaction-isolation element |
String |
getTransactionIsolationAsString()
Returns the transaction-isolation element |
String |
getUrlDelimiter()
Returns the url-delimiter element |
String |
getUrlSelectorStrategyClassName()
Returns the url-selector-strategy-class-name element |
String |
getXaDatasourceClass()
Returns the xa-datasource-class element |
Boolean |
isEnabled()
Returns the enabled attribute |
Boolean |
isSpy()
Returns the spy attribute |
Boolean |
isUseCcm()
Returns the use-ccm attribute |
Boolean |
isUseJavaContext()
Returns the use-java-context attribute |
XaDatasourceType<T> |
jndiName(String jndiName)
Sets the jndi-name attribute |
XaDatasourceType<T> |
newConnectionSql(String newConnectionSql)
Sets the new-connection-sql element |
XaDatasourceType<T> |
poolName(String poolName)
Sets the pool-name attribute |
XaDatasourceType<T> |
removeAllXaDatasourceProperty()
Removes all xa-datasource-property elements |
XaDatasourceType<T> |
removeDriver()
Removes the driver element |
XaDatasourceType<T> |
removeEnabled()
Removes the enabled attribute |
XaDatasourceType<T> |
removeJndiName()
Removes the jndi-name attribute |
XaDatasourceType<T> |
removeNewConnectionSql()
Removes the new-connection-sql element |
XaDatasourceType<T> |
removePoolName()
Removes the pool-name attribute |
XaDatasourceType<T> |
removeRecovery()
Removes the recovery element |
XaDatasourceType<T> |
removeSecurity()
Removes the security element |
XaDatasourceType<T> |
removeSpy()
Removes the spy attribute |
XaDatasourceType<T> |
removeStatement()
Removes the statement element |
XaDatasourceType<T> |
removeTimeout()
Removes the timeout element |
XaDatasourceType<T> |
removeTransactionIsolation()
Removes the transaction-isolation attribute |
XaDatasourceType<T> |
removeUrlDelimiter()
Removes the url-delimiter element |
XaDatasourceType<T> |
removeUrlSelectorStrategyClassName()
Removes the url-selector-strategy-class-name element |
XaDatasourceType<T> |
removeUseCcm()
Removes the use-ccm attribute |
XaDatasourceType<T> |
removeUseJavaContext()
Removes the use-java-context attribute |
XaDatasourceType<T> |
removeValidation()
Removes the validation element |
XaDatasourceType<T> |
removeXaDatasourceClass()
Removes the xa-datasource-class element |
XaDatasourceType<T> |
removeXaPool()
Removes the xa-pool element |
XaDatasourceType<T> |
spy(Boolean spy)
Sets the spy attribute |
XaDatasourceType<T> |
transactionIsolation(String transactionIsolation)
Sets the transaction-isolation element |
XaDatasourceType<T> |
transactionIsolation(TransactionIsolationType transactionIsolation)
Sets the transaction-isolation element |
T |
up()
Returns the parent of this Child |
XaDatasourceType<T> |
urlDelimiter(String urlDelimiter)
Sets the url-delimiter element |
XaDatasourceType<T> |
urlSelectorStrategyClassName(String urlSelectorStrategyClassName)
Sets the url-selector-strategy-class-name element |
XaDatasourceType<T> |
useCcm(Boolean useCcm)
Sets the use-ccm attribute |
XaDatasourceType<T> |
useJavaContext(Boolean useJavaContext)
Sets the use-java-context attribute |
XaDatasourceType<T> |
xaDatasourceClass(String xaDatasourceClass)
Sets the xa-datasource-class element |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XaDatasourceTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public XaDatasourceTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
Method Detail |
---|
public T up()
Child
Child
up
in interface Child<T>
Child
public XaDatasourceType<T> jndiName(String jndiName)
jndi-name
attribute
jndiName
in interface XaDatasourceType<T>
jndiName
- the value for the attribute jndi-name
XaDatasourceType
public String getJndiName()
jndi-name
attribute
getJndiName
in interface XaDatasourceType<T>
jndi-name
public XaDatasourceType<T> removeJndiName()
jndi-name
attribute
removeJndiName
in interface XaDatasourceType<T>
XaDatasourceType
public XaDatasourceType<T> poolName(String poolName)
pool-name
attribute
poolName
in interface XaDatasourceType<T>
poolName
- the value for the attribute pool-name
XaDatasourceType
public String getPoolName()
pool-name
attribute
getPoolName
in interface XaDatasourceType<T>
pool-name
public XaDatasourceType<T> removePoolName()
pool-name
attribute
removePoolName
in interface XaDatasourceType<T>
XaDatasourceType
public XaDatasourceType<T> enabled(Boolean enabled)
enabled
attribute
enabled
in interface XaDatasourceType<T>
enabled
- the value for the attribute enabled
XaDatasourceType
public Boolean isEnabled()
enabled
attribute
isEnabled
in interface XaDatasourceType<T>
enabled
public XaDatasourceType<T> removeEnabled()
enabled
attribute
removeEnabled
in interface XaDatasourceType<T>
XaDatasourceType
public XaDatasourceType<T> useJavaContext(Boolean useJavaContext)
use-java-context
attribute
useJavaContext
in interface XaDatasourceType<T>
useJavaContext
- the value for the attribute use-java-context
XaDatasourceType
public Boolean isUseJavaContext()
use-java-context
attribute
isUseJavaContext
in interface XaDatasourceType<T>
use-java-context
public XaDatasourceType<T> removeUseJavaContext()
use-java-context
attribute
removeUseJavaContext
in interface XaDatasourceType<T>
XaDatasourceType
public XaDatasourceType<T> spy(Boolean spy)
spy
attribute
spy
in interface XaDatasourceType<T>
spy
- the value for the attribute spy
XaDatasourceType
public Boolean isSpy()
spy
attribute
isSpy
in interface XaDatasourceType<T>
spy
public XaDatasourceType<T> removeSpy()
spy
attribute
removeSpy
in interface XaDatasourceType<T>
XaDatasourceType
public XaDatasourceType<T> useCcm(Boolean useCcm)
use-ccm
attribute
useCcm
in interface XaDatasourceType<T>
useCcm
- the value for the attribute use-ccm
XaDatasourceType
public Boolean isUseCcm()
use-ccm
attribute
isUseCcm
in interface XaDatasourceType<T>
use-ccm
public XaDatasourceType<T> removeUseCcm()
use-ccm
attribute
removeUseCcm
in interface XaDatasourceType<T>
XaDatasourceType
public XaDatasourcePropertyType<XaDatasourceType<T>> getOrCreateXaDatasourceProperty()
xa-datasource-property
element will be created and returned.
Otherwise, the first existing xa-datasource-property
element will be returned.
getOrCreateXaDatasourceProperty
in interface XaDatasourceType<T>
xa-datasource-property
public XaDatasourcePropertyType<XaDatasourceType<T>> createXaDatasourceProperty()
xa-datasource-property
element
createXaDatasourceProperty
in interface XaDatasourceType<T>
XaDatasourcePropertyType>
public List<XaDatasourcePropertyType<XaDatasourceType<T>>> getAllXaDatasourceProperty()
xa-datasource-property
elements
getAllXaDatasourceProperty
in interface XaDatasourceType<T>
xa-datasource-property
public XaDatasourceType<T> removeAllXaDatasourceProperty()
xa-datasource-property
elements
removeAllXaDatasourceProperty
in interface XaDatasourceType<T>
XaDatasourcePropertyType>
public XaDatasourceType<T> xaDatasourceClass(String xaDatasourceClass)
xa-datasource-class
element
xaDatasourceClass
in interface XaDatasourceType<T>
xaDatasourceClass
- the value for the element xa-datasource-class
XaDatasourceType
public String getXaDatasourceClass()
xa-datasource-class
element
getXaDatasourceClass
in interface XaDatasourceType<T>
xa-datasource-class
public XaDatasourceType<T> removeXaDatasourceClass()
xa-datasource-class
element
removeXaDatasourceClass
in interface XaDatasourceType<T>
XaDatasourceType
public XaDatasourceType<T> driver(String driver)
driver
element
driver
in interface XaDatasourceType<T>
driver
- the value for the element driver
XaDatasourceType
public String getDriver()
driver
element
getDriver
in interface XaDatasourceType<T>
driver
public XaDatasourceType<T> removeDriver()
driver
element
removeDriver
in interface XaDatasourceType<T>
XaDatasourceType
public XaDatasourceType<T> urlDelimiter(String urlDelimiter)
url-delimiter
element
urlDelimiter
in interface XaDatasourceType<T>
urlDelimiter
- the value for the element url-delimiter
XaDatasourceType
public String getUrlDelimiter()
url-delimiter
element
getUrlDelimiter
in interface XaDatasourceType<T>
url-delimiter
public XaDatasourceType<T> removeUrlDelimiter()
url-delimiter
element
removeUrlDelimiter
in interface XaDatasourceType<T>
XaDatasourceType
public XaDatasourceType<T> urlSelectorStrategyClassName(String urlSelectorStrategyClassName)
url-selector-strategy-class-name
element
urlSelectorStrategyClassName
in interface XaDatasourceType<T>
urlSelectorStrategyClassName
- the value for the element url-selector-strategy-class-name
XaDatasourceType
public String getUrlSelectorStrategyClassName()
url-selector-strategy-class-name
element
getUrlSelectorStrategyClassName
in interface XaDatasourceType<T>
url-selector-strategy-class-name
public XaDatasourceType<T> removeUrlSelectorStrategyClassName()
url-selector-strategy-class-name
element
removeUrlSelectorStrategyClassName
in interface XaDatasourceType<T>
XaDatasourceType
public XaDatasourceType<T> newConnectionSql(String newConnectionSql)
new-connection-sql
element
newConnectionSql
in interface XaDatasourceType<T>
newConnectionSql
- the value for the element new-connection-sql
XaDatasourceType
public String getNewConnectionSql()
new-connection-sql
element
getNewConnectionSql
in interface XaDatasourceType<T>
new-connection-sql
public XaDatasourceType<T> removeNewConnectionSql()
new-connection-sql
element
removeNewConnectionSql
in interface XaDatasourceType<T>
XaDatasourceType
public XaDatasourceType<T> transactionIsolation(TransactionIsolationType transactionIsolation)
transaction-isolation
element
transactionIsolation
in interface XaDatasourceType<T>
transactionIsolation
- the value for the element transaction-isolation
XaDatasourceType
public XaDatasourceType<T> transactionIsolation(String transactionIsolation)
transaction-isolation
element
transactionIsolation
in interface XaDatasourceType<T>
transactionIsolation
- the value for the element transaction-isolation
XaDatasourceType
public TransactionIsolationType getTransactionIsolation()
transaction-isolation
element
getTransactionIsolation
in interface XaDatasourceType<T>
transaction-isolation
public String getTransactionIsolationAsString()
transaction-isolation
element
getTransactionIsolationAsString
in interface XaDatasourceType<T>
transaction-isolation
public XaDatasourceType<T> removeTransactionIsolation()
transaction-isolation
attribute
removeTransactionIsolation
in interface XaDatasourceType<T>
XaDatasourceType
public XaPoolType<XaDatasourceType<T>> getOrCreateXaPool()
xa-pool
element with the given value will be created.
Otherwise, the existing xa-pool
element will be returned.
getOrCreateXaPool
in interface XaDatasourceType<T>
XaPoolType>
public XaDatasourceType<T> removeXaPool()
xa-pool
element
removeXaPool
in interface XaDatasourceType<T>
XaDatasourceType
public DsSecurityType<XaDatasourceType<T>> getOrCreateSecurity()
security
element with the given value will be created.
Otherwise, the existing security
element will be returned.
getOrCreateSecurity
in interface XaDatasourceType<T>
DsSecurityType>
public XaDatasourceType<T> removeSecurity()
security
element
removeSecurity
in interface XaDatasourceType<T>
XaDatasourceType
public ValidationType<XaDatasourceType<T>> getOrCreateValidation()
validation
element with the given value will be created.
Otherwise, the existing validation
element will be returned.
getOrCreateValidation
in interface XaDatasourceType<T>
ValidationType>
public XaDatasourceType<T> removeValidation()
validation
element
removeValidation
in interface XaDatasourceType<T>
XaDatasourceType
public TimeoutType<XaDatasourceType<T>> getOrCreateTimeout()
timeout
element with the given value will be created.
Otherwise, the existing timeout
element will be returned.
getOrCreateTimeout
in interface XaDatasourceType<T>
TimeoutType>
public XaDatasourceType<T> removeTimeout()
timeout
element
removeTimeout
in interface XaDatasourceType<T>
XaDatasourceType
public StatementType<XaDatasourceType<T>> getOrCreateStatement()
statement
element with the given value will be created.
Otherwise, the existing statement
element will be returned.
getOrCreateStatement
in interface XaDatasourceType<T>
StatementType>
public XaDatasourceType<T> removeStatement()
statement
element
removeStatement
in interface XaDatasourceType<T>
XaDatasourceType
public RecoverType<XaDatasourceType<T>> getOrCreateRecovery()
recovery
element with the given value will be created.
Otherwise, the existing recovery
element will be returned.
getOrCreateRecovery
in interface XaDatasourceType<T>
RecoverType>
public XaDatasourceType<T> removeRecovery()
recovery
element
removeRecovery
in interface XaDatasourceType<T>
XaDatasourceType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |