
public interface DatasourceType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
datasourceType xsd type| Type | Property and Description |
|---|---|
ConnectionPropertyType<DatasourceType<T>> |
createConnection
Creates a new
connection-property element |
DatasourceType<T> |
removeAllConnection
Removes all
connection-property elements |
| Modifier and Type | Method and Description |
|---|---|
DatasourceType<T> |
connectionUrl(String connectionUrl)
Sets the
connection-url element |
ConnectionPropertyType<DatasourceType<T>> |
createConnectionProperty()
Creates a new
connection-property element |
DatasourceType<T> |
datasourceClass(String datasourceClass)
Sets the
datasource-class element |
DatasourceType<T> |
driver(String driver)
Sets the
driver element |
DatasourceType<T> |
driverClass(String driverClass)
Sets the
driver-class element |
DatasourceType<T> |
enabled(Boolean enabled)
Sets the
enabled attribute |
List<ConnectionPropertyType<DatasourceType<T>>> |
getAllConnectionProperty()
Returns all
connection-property elements |
String |
getConnectionUrl()
Returns the
connection-url element |
String |
getDatasourceClass()
Returns the
datasource-class element |
String |
getDriver()
Returns the
driver element |
String |
getDriverClass()
Returns the
driver-class element |
String |
getJndiName()
Returns the
jndi-name attribute |
String |
getNewConnectionSql()
Returns the
new-connection-sql element |
ConnectionPropertyType<DatasourceType<T>> |
getOrCreateConnectionProperty()
If not already created, a new
connection-property element will be created and returned. |
PoolType<DatasourceType<T>> |
getOrCreatePool()
If not already created, a new
pool element with the given value will be created. |
DsSecurityType<DatasourceType<T>> |
getOrCreateSecurity()
If not already created, a new
security element with the given value will be created. |
StatementType<DatasourceType<T>> |
getOrCreateStatement()
If not already created, a new
statement element with the given value will be created. |
TimeoutType<DatasourceType<T>> |
getOrCreateTimeout()
If not already created, a new
timeout element with the given value will be created. |
ValidationType<DatasourceType<T>> |
getOrCreateValidation()
If not already created, a new
validation 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 |
Boolean |
isEnabled()
Returns the
enabled attribute |
Boolean |
isJta()
Returns the
jta attribute |
Boolean |
isSpy()
Returns the
spy attribute |
Boolean |
isUseCcm()
Returns the
use-ccm attribute |
Boolean |
isUseJavaContext()
Returns the
use-java-context attribute |
DatasourceType<T> |
jndiName(String jndiName)
Sets the
jndi-name attribute |
DatasourceType<T> |
jta(Boolean jta)
Sets the
jta attribute |
DatasourceType<T> |
newConnectionSql(String newConnectionSql)
Sets the
new-connection-sql element |
DatasourceType<T> |
poolName(String poolName)
Sets the
pool-name attribute |
DatasourceType<T> |
removeAllConnectionProperty()
Removes all
connection-property elements |
DatasourceType<T> |
removeConnectionUrl()
Removes the
connection-url element |
DatasourceType<T> |
removeDatasourceClass()
Removes the
datasource-class element |
DatasourceType<T> |
removeDriver()
Removes the
driver element |
DatasourceType<T> |
removeDriverClass()
Removes the
driver-class element |
DatasourceType<T> |
removeEnabled()
Removes the
enabled attribute |
DatasourceType<T> |
removeJndiName()
Removes the
jndi-name attribute |
DatasourceType<T> |
removeJta()
Removes the
jta attribute |
DatasourceType<T> |
removeNewConnectionSql()
Removes the
new-connection-sql element |
DatasourceType<T> |
removePool()
Removes the
pool element |
DatasourceType<T> |
removePoolName()
Removes the
pool-name attribute |
DatasourceType<T> |
removeSecurity()
Removes the
security element |
DatasourceType<T> |
removeSpy()
Removes the
spy attribute |
DatasourceType<T> |
removeStatement()
Removes the
statement element |
DatasourceType<T> |
removeTimeout()
Removes the
timeout element |
DatasourceType<T> |
removeTransactionIsolation()
Removes the
transaction-isolation attribute |
DatasourceType<T> |
removeUrlDelimiter()
Removes the
url-delimiter element |
DatasourceType<T> |
removeUrlSelectorStrategyClassName()
Removes the
url-selector-strategy-class-name element |
DatasourceType<T> |
removeUseCcm()
Removes the
use-ccm attribute |
DatasourceType<T> |
removeUseJavaContext()
Removes the
use-java-context attribute |
DatasourceType<T> |
removeValidation()
Removes the
validation element |
DatasourceType<T> |
spy(Boolean spy)
Sets the
spy attribute |
DatasourceType<T> |
transactionIsolation(String transactionIsolation)
Sets the
transaction-isolation element |
DatasourceType<T> |
transactionIsolation(TransactionIsolationType transactionIsolation)
Sets the
transaction-isolation element |
DatasourceType<T> |
urlDelimiter(String urlDelimiter)
Sets the
url-delimiter element |
DatasourceType<T> |
urlSelectorStrategyClassName(String urlSelectorStrategyClassName)
Sets the
url-selector-strategy-class-name element |
DatasourceType<T> |
useCcm(Boolean useCcm)
Sets the
use-ccm attribute |
DatasourceType<T> |
useJavaContext(Boolean useJavaContext)
Sets the
use-java-context attribute |
connection-property elementConnectionPropertyType> connection-property elementsConnectionPropertyType> DatasourceType<T> jndiName(String jndiName)
jndi-name attributejndiName - the value for the attribute jndi-nameDatasourceTypeString getJndiName()
jndi-name attributejndi-nameDatasourceType<T> removeJndiName()
jndi-name attributeDatasourceTypeDatasourceType<T> poolName(String poolName)
pool-name attributepoolName - the value for the attribute pool-nameDatasourceTypeString getPoolName()
pool-name attributepool-nameDatasourceType<T> removePoolName()
pool-name attributeDatasourceTypeDatasourceType<T> enabled(Boolean enabled)
enabled attributeenabled - the value for the attribute enabledDatasourceTypeBoolean isEnabled()
enabled attributeenabledDatasourceType<T> removeEnabled()
enabled attributeDatasourceTypeDatasourceType<T> useJavaContext(Boolean useJavaContext)
use-java-context attributeuseJavaContext - the value for the attribute use-java-contextDatasourceTypeBoolean isUseJavaContext()
use-java-context attributeuse-java-contextDatasourceType<T> removeUseJavaContext()
use-java-context attributeDatasourceTypeDatasourceType<T> spy(Boolean spy)
spy attributespy - the value for the attribute spyDatasourceTypeBoolean isSpy()
spy attributespyDatasourceType<T> removeSpy()
spy attributeDatasourceTypeDatasourceType<T> useCcm(Boolean useCcm)
use-ccm attributeuseCcm - the value for the attribute use-ccmDatasourceTypeBoolean isUseCcm()
use-ccm attributeuse-ccmDatasourceType<T> removeUseCcm()
use-ccm attributeDatasourceTypeDatasourceType<T> connectionUrl(String connectionUrl)
connection-url elementconnectionUrl - the value for the element connection-urlDatasourceTypeString getConnectionUrl()
connection-url elementconnection-urlDatasourceType<T> removeConnectionUrl()
connection-url elementDatasourceTypeDatasourceType<T> driverClass(String driverClass)
driver-class elementdriverClass - the value for the element driver-classDatasourceTypeString getDriverClass()
driver-class elementdriver-classDatasourceType<T> removeDriverClass()
driver-class elementDatasourceTypeDatasourceType<T> datasourceClass(String datasourceClass)
datasource-class elementdatasourceClass - the value for the element datasource-classDatasourceTypeString getDatasourceClass()
datasource-class elementdatasource-classDatasourceType<T> removeDatasourceClass()
datasource-class elementDatasourceTypeDatasourceType<T> driver(String driver)
driver elementdriver - the value for the element driverDatasourceTypeString getDriver()
driver elementdriverDatasourceType<T> removeDriver()
driver elementDatasourceTypeConnectionPropertyType<DatasourceType<T>> getOrCreateConnectionProperty()
connection-property element will be created and returned.
Otherwise, the first existing connection-property element will be returned.connection-propertyConnectionPropertyType<DatasourceType<T>> createConnectionProperty()
connection-property elementConnectionPropertyType> List<ConnectionPropertyType<DatasourceType<T>>> getAllConnectionProperty()
connection-property elementsconnection-propertyDatasourceType<T> removeAllConnectionProperty()
connection-property elementsConnectionPropertyType> DatasourceType<T> newConnectionSql(String newConnectionSql)
new-connection-sql elementnewConnectionSql - the value for the element new-connection-sqlDatasourceTypeString getNewConnectionSql()
new-connection-sql elementnew-connection-sqlDatasourceType<T> removeNewConnectionSql()
new-connection-sql elementDatasourceTypeDatasourceType<T> transactionIsolation(TransactionIsolationType transactionIsolation)
transaction-isolation elementtransactionIsolation - the value for the element transaction-isolationDatasourceTypeDatasourceType<T> transactionIsolation(String transactionIsolation)
transaction-isolation elementtransactionIsolation - the value for the element transaction-isolationDatasourceTypeTransactionIsolationType getTransactionIsolation()
transaction-isolation elementtransaction-isolationString getTransactionIsolationAsString()
transaction-isolation elementtransaction-isolationDatasourceType<T> removeTransactionIsolation()
transaction-isolation attributeDatasourceTypeDatasourceType<T> urlDelimiter(String urlDelimiter)
url-delimiter elementurlDelimiter - the value for the element url-delimiterDatasourceTypeString getUrlDelimiter()
url-delimiter elementurl-delimiterDatasourceType<T> removeUrlDelimiter()
url-delimiter elementDatasourceTypeDatasourceType<T> urlSelectorStrategyClassName(String urlSelectorStrategyClassName)
url-selector-strategy-class-name elementurlSelectorStrategyClassName - the value for the element url-selector-strategy-class-nameDatasourceTypeString getUrlSelectorStrategyClassName()
url-selector-strategy-class-name elementurl-selector-strategy-class-nameDatasourceType<T> removeUrlSelectorStrategyClassName()
url-selector-strategy-class-name elementDatasourceTypePoolType<DatasourceType<T>> getOrCreatePool()
pool element with the given value will be created.
Otherwise, the existing pool element will be returned.PoolType> DatasourceType<T> removePool()
pool elementDatasourceTypeDsSecurityType<DatasourceType<T>> getOrCreateSecurity()
security element with the given value will be created.
Otherwise, the existing security element will be returned.DsSecurityType> DatasourceType<T> removeSecurity()
security elementDatasourceTypeValidationType<DatasourceType<T>> getOrCreateValidation()
validation element with the given value will be created.
Otherwise, the existing validation element will be returned.ValidationType> DatasourceType<T> removeValidation()
validation elementDatasourceTypeTimeoutType<DatasourceType<T>> getOrCreateTimeout()
timeout element with the given value will be created.
Otherwise, the existing timeout element will be returned.TimeoutType> DatasourceType<T> removeTimeout()
timeout elementDatasourceTypeStatementType<DatasourceType<T>> getOrCreateStatement()
statement element with the given value will be created.
Otherwise, the existing statement element will be returned.StatementType> DatasourceType<T> removeStatement()
statement elementDatasourceTypeDatasourceType<T> jta(Boolean jta)
jta attributejta - the value for the attribute jtaDatasourceTypeBoolean isJta()
jta attributejtaDatasourceType<T> removeJta()
jta attributeDatasourceTypeCopyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)