
public interface XaDatasourceType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
xa-datasourceType xsd type| Type | Property and Description |
|---|---|
XaDatasourcePropertyType<XaDatasourceType<T>> |
createXaDatasource
Creates a new
xa-datasource-property element |
XaDatasourceType<T> |
removeAllXaDatasource
Removes all
xa-datasource-property elements |
XaDatasourceType<T> |
removeUrl
Removes the
url-property element |
| Modifier and Type | Method and Description |
|---|---|
XaDatasourcePropertyType<XaDatasourceType<T>> |
createXaDatasourceProperty()
Creates a new
xa-datasource-property element |
XaDatasourceType<T> |
driver(java.lang.String driver)
Sets the
driver element |
XaDatasourceType<T> |
enabled(java.lang.Boolean enabled)
Sets the
enabled attribute |
java.util.List<XaDatasourcePropertyType<XaDatasourceType<T>>> |
getAllXaDatasourceProperty()
Returns all
xa-datasource-property elements |
java.lang.String |
getDriver()
Returns the
driver element |
java.lang.String |
getJndiName()
Returns the
jndi-name attribute |
java.lang.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. |
java.lang.String |
getPoolName()
Returns the
pool-name attribute |
TransactionIsolationType |
getTransactionIsolation()
Returns the
transaction-isolation element |
java.lang.String |
getTransactionIsolationAsString()
Returns the
transaction-isolation element |
java.lang.String |
getUrlDelimiter()
Returns the
url-delimiter element |
java.lang.String |
getUrlProperty()
Returns the
url-property element |
java.lang.String |
getUrlSelectorStrategyClassName()
Returns the
url-selector-strategy-class-name element |
java.lang.String |
getXaDatasourceClass()
Returns the
xa-datasource-class element |
java.lang.Boolean |
isEnabled()
Returns the
enabled attribute |
java.lang.Boolean |
isSpy()
Returns the
spy attribute |
java.lang.Boolean |
isUseCcm()
Returns the
use-ccm attribute |
java.lang.Boolean |
isUseJavaContext()
Returns the
use-java-context attribute |
XaDatasourceType<T> |
jndiName(java.lang.String jndiName)
Sets the
jndi-name attribute |
XaDatasourceType<T> |
newConnectionSql(java.lang.String newConnectionSql)
Sets the
new-connection-sql element |
XaDatasourceType<T> |
poolName(java.lang.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> |
removeUrlProperty()
Removes the
url-property 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(java.lang.Boolean spy)
Sets the
spy attribute |
XaDatasourceType<T> |
transactionIsolation(java.lang.String transactionIsolation)
Sets the
transaction-isolation element |
XaDatasourceType<T> |
transactionIsolation(TransactionIsolationType transactionIsolation)
Sets the
transaction-isolation element |
XaDatasourceType<T> |
urlDelimiter(java.lang.String urlDelimiter)
Sets the
url-delimiter element |
XaDatasourceType<T> |
urlProperty(java.lang.String urlProperty)
Sets the
url-property element |
XaDatasourceType<T> |
urlSelectorStrategyClassName(java.lang.String urlSelectorStrategyClassName)
Sets the
url-selector-strategy-class-name element |
XaDatasourceType<T> |
useCcm(java.lang.Boolean useCcm)
Sets the
use-ccm attribute |
XaDatasourceType<T> |
useJavaContext(java.lang.Boolean useJavaContext)
Sets the
use-java-context attribute |
XaDatasourceType<T> |
xaDatasourceClass(java.lang.String xaDatasourceClass)
Sets the
xa-datasource-class element |
xa-datasource-property elementXaDatasourcePropertyType> xa-datasource-property elementsXaDatasourcePropertyType> url-property elementXaDatasourceTypeXaDatasourceType<T> jndiName(java.lang.String jndiName)
jndi-name attributejndiName - the value for the attribute jndi-nameXaDatasourceTypejava.lang.String getJndiName()
jndi-name attributejndi-nameXaDatasourceType<T> removeJndiName()
jndi-name attributeXaDatasourceTypeXaDatasourceType<T> poolName(java.lang.String poolName)
pool-name attributepoolName - the value for the attribute pool-nameXaDatasourceTypejava.lang.String getPoolName()
pool-name attributepool-nameXaDatasourceType<T> removePoolName()
pool-name attributeXaDatasourceTypeXaDatasourceType<T> enabled(java.lang.Boolean enabled)
enabled attributeenabled - the value for the attribute enabledXaDatasourceTypejava.lang.Boolean isEnabled()
enabled attributeenabledXaDatasourceType<T> removeEnabled()
enabled attributeXaDatasourceTypeXaDatasourceType<T> useJavaContext(java.lang.Boolean useJavaContext)
use-java-context attributeuseJavaContext - the value for the attribute use-java-contextXaDatasourceTypejava.lang.Boolean isUseJavaContext()
use-java-context attributeuse-java-contextXaDatasourceType<T> removeUseJavaContext()
use-java-context attributeXaDatasourceTypeXaDatasourceType<T> spy(java.lang.Boolean spy)
spy attributespy - the value for the attribute spyXaDatasourceTypejava.lang.Boolean isSpy()
spy attributespyXaDatasourceType<T> removeSpy()
spy attributeXaDatasourceTypeXaDatasourceType<T> useCcm(java.lang.Boolean useCcm)
use-ccm attributeuseCcm - the value for the attribute use-ccmXaDatasourceTypejava.lang.Boolean isUseCcm()
use-ccm attributeuse-ccmXaDatasourceType<T> removeUseCcm()
use-ccm attributeXaDatasourceTypeXaDatasourcePropertyType<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-propertyXaDatasourcePropertyType<XaDatasourceType<T>> createXaDatasourceProperty()
xa-datasource-property elementXaDatasourcePropertyType> java.util.List<XaDatasourcePropertyType<XaDatasourceType<T>>> getAllXaDatasourceProperty()
xa-datasource-property elementsxa-datasource-propertyXaDatasourceType<T> removeAllXaDatasourceProperty()
xa-datasource-property elementsXaDatasourcePropertyType> XaDatasourceType<T> xaDatasourceClass(java.lang.String xaDatasourceClass)
xa-datasource-class elementxaDatasourceClass - the value for the element xa-datasource-classXaDatasourceTypejava.lang.String getXaDatasourceClass()
xa-datasource-class elementxa-datasource-classXaDatasourceType<T> removeXaDatasourceClass()
xa-datasource-class elementXaDatasourceTypeXaDatasourceType<T> driver(java.lang.String driver)
driver elementdriver - the value for the element driverXaDatasourceTypejava.lang.String getDriver()
driver elementdriverXaDatasourceType<T> removeDriver()
driver elementXaDatasourceTypeXaDatasourceType<T> urlDelimiter(java.lang.String urlDelimiter)
url-delimiter elementurlDelimiter - the value for the element url-delimiterXaDatasourceTypejava.lang.String getUrlDelimiter()
url-delimiter elementurl-delimiterXaDatasourceType<T> removeUrlDelimiter()
url-delimiter elementXaDatasourceTypeXaDatasourceType<T> urlProperty(java.lang.String urlProperty)
url-property elementurlProperty - the value for the element url-propertyXaDatasourceTypejava.lang.String getUrlProperty()
url-property elementurl-propertyXaDatasourceType<T> removeUrlProperty()
url-property elementXaDatasourceTypeXaDatasourceType<T> urlSelectorStrategyClassName(java.lang.String urlSelectorStrategyClassName)
url-selector-strategy-class-name elementurlSelectorStrategyClassName - the value for the element url-selector-strategy-class-nameXaDatasourceTypejava.lang.String getUrlSelectorStrategyClassName()
url-selector-strategy-class-name elementurl-selector-strategy-class-nameXaDatasourceType<T> removeUrlSelectorStrategyClassName()
url-selector-strategy-class-name elementXaDatasourceTypeXaDatasourceType<T> newConnectionSql(java.lang.String newConnectionSql)
new-connection-sql elementnewConnectionSql - the value for the element new-connection-sqlXaDatasourceTypejava.lang.String getNewConnectionSql()
new-connection-sql elementnew-connection-sqlXaDatasourceType<T> removeNewConnectionSql()
new-connection-sql elementXaDatasourceTypeXaDatasourceType<T> transactionIsolation(TransactionIsolationType transactionIsolation)
transaction-isolation elementtransactionIsolation - the value for the element transaction-isolationXaDatasourceTypeXaDatasourceType<T> transactionIsolation(java.lang.String transactionIsolation)
transaction-isolation elementtransactionIsolation - the value for the element transaction-isolationXaDatasourceTypeTransactionIsolationType getTransactionIsolation()
transaction-isolation elementtransaction-isolationjava.lang.String getTransactionIsolationAsString()
transaction-isolation elementtransaction-isolationXaDatasourceType<T> removeTransactionIsolation()
transaction-isolation attributeXaDatasourceTypeXaPoolType<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 elementXaDatasourceTypeDsSecurityType<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 elementXaDatasourceTypeValidationType<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 elementXaDatasourceTypeTimeoutType<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 elementXaDatasourceTypeStatementType<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 elementXaDatasourceTypeRecoverType<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 elementXaDatasourceTypeCopyright © 2014 IronJacamar (http://www.ironjacamar.org)