public interface XaDatasourceType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
xa-datasourceType
xsd typeType | Property and Description |
---|---|
XaDatasourcePropertyType<XaDatasourceType<T>> |
createXaDatasource
Creates a new
xa-datasource-property element |
XaDatasourceType<T> |
removeAllXaDatasource
Removes all
xa-datasource-property elements |
Modifier and Type | Method and Description |
---|---|
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 |
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 |
xa-datasource-property
elementXaDatasourcePropertyType>
xa-datasource-property
elementsXaDatasourcePropertyType>
XaDatasourceType<T> jndiName(String jndiName)
jndi-name
attributejndiName
- the value for the attribute jndi-name
XaDatasourceType
String getJndiName()
jndi-name
attributejndi-name
XaDatasourceType<T> removeJndiName()
jndi-name
attributeXaDatasourceType
XaDatasourceType<T> poolName(String poolName)
pool-name
attributepoolName
- the value for the attribute pool-name
XaDatasourceType
String getPoolName()
pool-name
attributepool-name
XaDatasourceType<T> removePoolName()
pool-name
attributeXaDatasourceType
XaDatasourceType<T> enabled(Boolean enabled)
enabled
attributeenabled
- the value for the attribute enabled
XaDatasourceType
Boolean isEnabled()
enabled
attributeenabled
XaDatasourceType<T> removeEnabled()
enabled
attributeXaDatasourceType
XaDatasourceType<T> useJavaContext(Boolean useJavaContext)
use-java-context
attributeuseJavaContext
- the value for the attribute use-java-context
XaDatasourceType
Boolean isUseJavaContext()
use-java-context
attributeuse-java-context
XaDatasourceType<T> removeUseJavaContext()
use-java-context
attributeXaDatasourceType
XaDatasourceType<T> spy(Boolean spy)
spy
attributespy
- the value for the attribute spy
XaDatasourceType
Boolean isSpy()
spy
attributespy
XaDatasourceType<T> removeSpy()
spy
attributeXaDatasourceType
XaDatasourceType<T> useCcm(Boolean useCcm)
use-ccm
attributeuseCcm
- the value for the attribute use-ccm
XaDatasourceType
Boolean isUseCcm()
use-ccm
attributeuse-ccm
XaDatasourceType<T> removeUseCcm()
use-ccm
attributeXaDatasourceType
XaDatasourcePropertyType<XaDatasourceType<T>> getOrCreateXaDatasourceProperty()
xa-datasource-property
element will be created and returned.
Otherwise, the first existing xa-datasource-property
element will be returned.xa-datasource-property
XaDatasourcePropertyType<XaDatasourceType<T>> createXaDatasourceProperty()
xa-datasource-property
elementXaDatasourcePropertyType>
List<XaDatasourcePropertyType<XaDatasourceType<T>>> getAllXaDatasourceProperty()
xa-datasource-property
elementsxa-datasource-property
XaDatasourceType<T> removeAllXaDatasourceProperty()
xa-datasource-property
elementsXaDatasourcePropertyType>
XaDatasourceType<T> xaDatasourceClass(String xaDatasourceClass)
xa-datasource-class
elementxaDatasourceClass
- the value for the element xa-datasource-class
XaDatasourceType
String getXaDatasourceClass()
xa-datasource-class
elementxa-datasource-class
XaDatasourceType<T> removeXaDatasourceClass()
xa-datasource-class
elementXaDatasourceType
XaDatasourceType<T> driver(String driver)
driver
elementdriver
- the value for the element driver
XaDatasourceType
String getDriver()
driver
elementdriver
XaDatasourceType<T> removeDriver()
driver
elementXaDatasourceType
XaDatasourceType<T> urlDelimiter(String urlDelimiter)
url-delimiter
elementurlDelimiter
- the value for the element url-delimiter
XaDatasourceType
String getUrlDelimiter()
url-delimiter
elementurl-delimiter
XaDatasourceType<T> removeUrlDelimiter()
url-delimiter
elementXaDatasourceType
XaDatasourceType<T> urlSelectorStrategyClassName(String urlSelectorStrategyClassName)
url-selector-strategy-class-name
elementurlSelectorStrategyClassName
- the value for the element url-selector-strategy-class-name
XaDatasourceType
String getUrlSelectorStrategyClassName()
url-selector-strategy-class-name
elementurl-selector-strategy-class-name
XaDatasourceType<T> removeUrlSelectorStrategyClassName()
url-selector-strategy-class-name
elementXaDatasourceType
XaDatasourceType<T> newConnectionSql(String newConnectionSql)
new-connection-sql
elementnewConnectionSql
- the value for the element new-connection-sql
XaDatasourceType
String getNewConnectionSql()
new-connection-sql
elementnew-connection-sql
XaDatasourceType<T> removeNewConnectionSql()
new-connection-sql
elementXaDatasourceType
XaDatasourceType<T> transactionIsolation(TransactionIsolationType transactionIsolation)
transaction-isolation
elementtransactionIsolation
- the value for the element transaction-isolation
XaDatasourceType
XaDatasourceType<T> transactionIsolation(String transactionIsolation)
transaction-isolation
elementtransactionIsolation
- the value for the element transaction-isolation
XaDatasourceType
TransactionIsolationType getTransactionIsolation()
transaction-isolation
elementtransaction-isolation
String getTransactionIsolationAsString()
transaction-isolation
elementtransaction-isolation
XaDatasourceType<T> removeTransactionIsolation()
transaction-isolation
attributeXaDatasourceType
XaPoolType<XaDatasourceType<T>> getOrCreateXaPool()
xa-pool
element with the given value will be created.
Otherwise, the existing xa-pool
element will be returned.XaPoolType>
XaDatasourceType<T> removeXaPool()
xa-pool
elementXaDatasourceType
DsSecurityType<XaDatasourceType<T>> getOrCreateSecurity()
security
element with the given value will be created.
Otherwise, the existing security
element will be returned.DsSecurityType>
XaDatasourceType<T> removeSecurity()
security
elementXaDatasourceType
ValidationType<XaDatasourceType<T>> getOrCreateValidation()
validation
element with the given value will be created.
Otherwise, the existing validation
element will be returned.ValidationType>
XaDatasourceType<T> removeValidation()
validation
elementXaDatasourceType
TimeoutType<XaDatasourceType<T>> getOrCreateTimeout()
timeout
element with the given value will be created.
Otherwise, the existing timeout
element will be returned.TimeoutType>
XaDatasourceType<T> removeTimeout()
timeout
elementXaDatasourceType
StatementType<XaDatasourceType<T>> getOrCreateStatement()
statement
element with the given value will be created.
Otherwise, the existing statement
element will be returned.StatementType>
XaDatasourceType<T> removeStatement()
statement
elementXaDatasourceType
RecoverType<XaDatasourceType<T>> getOrCreateRecovery()
recovery
element with the given value will be created.
Otherwise, the existing recovery
element will be returned.RecoverType>
XaDatasourceType<T> removeRecovery()
recovery
elementXaDatasourceType
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)