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> |
connectable(java.lang.Boolean connectable)
Sets the
connectable attribute |
DatasourceType<T> |
connectionUrl(java.lang.String connectionUrl)
Sets the
connection-url element |
ConnectionPropertyType<DatasourceType<T>> |
createConnectionProperty()
Creates a new
connection-property element |
DatasourceType<T> |
datasourceClass(java.lang.String datasourceClass)
Sets the
datasource-class element |
DatasourceType<T> |
driver(java.lang.String driver)
Sets the
driver element |
DatasourceType<T> |
driverClass(java.lang.String driverClass)
Sets the
driver-class element |
DatasourceType<T> |
enabled(java.lang.Boolean enabled)
Sets the
enabled attribute |
java.util.List<ConnectionPropertyType<DatasourceType<T>>> |
getAllConnectionProperty()
Returns all
connection-property elements |
java.lang.String |
getConnectionUrl()
Returns the
connection-url element |
java.lang.String |
getDatasourceClass()
Returns the
datasource-class element |
java.lang.String |
getDriver()
Returns the
driver element |
java.lang.String |
getDriverClass()
Returns the
driver-class element |
java.lang.String |
getJndiName()
Returns the
jndi-name attribute |
java.lang.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. |
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 |
getUrlSelectorStrategyClassName()
Returns the
url-selector-strategy-class-name element |
java.lang.Boolean |
isConnectable()
Returns the
connectable attribute |
java.lang.Boolean |
isEnabled()
Returns the
enabled attribute |
java.lang.Boolean |
isJta()
Returns the
jta attribute |
java.lang.Boolean |
isSpy()
Returns the
spy attribute |
java.lang.Boolean |
isTracking()
Returns the
tracking attribute |
java.lang.Boolean |
isUseCcm()
Returns the
use-ccm attribute |
java.lang.Boolean |
isUseJavaContext()
Returns the
use-java-context attribute |
DatasourceType<T> |
jndiName(java.lang.String jndiName)
Sets the
jndi-name attribute |
DatasourceType<T> |
jta(java.lang.Boolean jta)
Sets the
jta attribute |
DatasourceType<T> |
newConnectionSql(java.lang.String newConnectionSql)
Sets the
new-connection-sql element |
DatasourceType<T> |
poolName(java.lang.String poolName)
Sets the
pool-name attribute |
DatasourceType<T> |
removeAllConnectionProperty()
Removes all
connection-property elements |
DatasourceType<T> |
removeConnectable()
Removes the
connectable attribute |
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> |
removeTracking()
Removes the
tracking attribute |
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(java.lang.Boolean spy)
Sets the
spy attribute |
DatasourceType<T> |
tracking(java.lang.Boolean tracking)
Sets the
tracking attribute |
DatasourceType<T> |
transactionIsolation(java.lang.String transactionIsolation)
Sets the
transaction-isolation element |
DatasourceType<T> |
transactionIsolation(TransactionIsolationType transactionIsolation)
Sets the
transaction-isolation element |
DatasourceType<T> |
urlDelimiter(java.lang.String urlDelimiter)
Sets the
url-delimiter element |
DatasourceType<T> |
urlSelectorStrategyClassName(java.lang.String urlSelectorStrategyClassName)
Sets the
url-selector-strategy-class-name element |
DatasourceType<T> |
useCcm(java.lang.Boolean useCcm)
Sets the
use-ccm attribute |
DatasourceType<T> |
useJavaContext(java.lang.Boolean useJavaContext)
Sets the
use-java-context attribute |
connection-property elementConnectionPropertyType> connection-property elementsConnectionPropertyType> DatasourceType<T> jndiName(java.lang.String jndiName)
jndi-name attributejndiName - the value for the attribute jndi-nameDatasourceTypejava.lang.String getJndiName()
jndi-name attributejndi-nameDatasourceType<T> removeJndiName()
jndi-name attributeDatasourceTypeDatasourceType<T> poolName(java.lang.String poolName)
pool-name attributepoolName - the value for the attribute pool-nameDatasourceTypejava.lang.String getPoolName()
pool-name attributepool-nameDatasourceType<T> removePoolName()
pool-name attributeDatasourceTypeDatasourceType<T> enabled(java.lang.Boolean enabled)
enabled attributeenabled - the value for the attribute enabledDatasourceTypejava.lang.Boolean isEnabled()
enabled attributeenabledDatasourceType<T> removeEnabled()
enabled attributeDatasourceTypeDatasourceType<T> useJavaContext(java.lang.Boolean useJavaContext)
use-java-context attributeuseJavaContext - the value for the attribute use-java-contextDatasourceTypejava.lang.Boolean isUseJavaContext()
use-java-context attributeuse-java-contextDatasourceType<T> removeUseJavaContext()
use-java-context attributeDatasourceTypeDatasourceType<T> spy(java.lang.Boolean spy)
spy attributespy - the value for the attribute spyDatasourceTypejava.lang.Boolean isSpy()
spy attributespyDatasourceType<T> removeSpy()
spy attributeDatasourceTypeDatasourceType<T> useCcm(java.lang.Boolean useCcm)
use-ccm attributeuseCcm - the value for the attribute use-ccmDatasourceTypejava.lang.Boolean isUseCcm()
use-ccm attributeuse-ccmDatasourceType<T> removeUseCcm()
use-ccm attributeDatasourceTypeDatasourceType<T> connectable(java.lang.Boolean connectable)
connectable attributeconnectable - the value for the attribute connectableDatasourceTypejava.lang.Boolean isConnectable()
connectable attributeconnectableDatasourceType<T> removeConnectable()
connectable attributeDatasourceTypeDatasourceType<T> tracking(java.lang.Boolean tracking)
tracking attributetracking - the value for the attribute trackingDatasourceTypejava.lang.Boolean isTracking()
tracking attributetrackingDatasourceType<T> removeTracking()
tracking attributeDatasourceTypeDatasourceType<T> connectionUrl(java.lang.String connectionUrl)
connection-url elementconnectionUrl - the value for the element connection-urlDatasourceTypejava.lang.String getConnectionUrl()
connection-url elementconnection-urlDatasourceType<T> removeConnectionUrl()
connection-url elementDatasourceTypeDatasourceType<T> driverClass(java.lang.String driverClass)
driver-class elementdriverClass - the value for the element driver-classDatasourceTypejava.lang.String getDriverClass()
driver-class elementdriver-classDatasourceType<T> removeDriverClass()
driver-class elementDatasourceTypeDatasourceType<T> datasourceClass(java.lang.String datasourceClass)
datasource-class elementdatasourceClass - the value for the element datasource-classDatasourceTypejava.lang.String getDatasourceClass()
datasource-class elementdatasource-classDatasourceType<T> removeDatasourceClass()
datasource-class elementDatasourceTypeDatasourceType<T> driver(java.lang.String driver)
driver elementdriver - the value for the element driverDatasourceTypejava.lang.String 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> java.util.List<ConnectionPropertyType<DatasourceType<T>>> getAllConnectionProperty()
connection-property elementsconnection-propertyDatasourceType<T> removeAllConnectionProperty()
connection-property elementsConnectionPropertyType> DatasourceType<T> newConnectionSql(java.lang.String newConnectionSql)
new-connection-sql elementnewConnectionSql - the value for the element new-connection-sqlDatasourceTypejava.lang.String 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(java.lang.String transactionIsolation)
transaction-isolation elementtransactionIsolation - the value for the element transaction-isolationDatasourceTypeTransactionIsolationType getTransactionIsolation()
transaction-isolation elementtransaction-isolationjava.lang.String getTransactionIsolationAsString()
transaction-isolation elementtransaction-isolationDatasourceType<T> removeTransactionIsolation()
transaction-isolation attributeDatasourceTypeDatasourceType<T> urlDelimiter(java.lang.String urlDelimiter)
url-delimiter elementurlDelimiter - the value for the element url-delimiterDatasourceTypejava.lang.String getUrlDelimiter()
url-delimiter elementurl-delimiterDatasourceType<T> removeUrlDelimiter()
url-delimiter elementDatasourceTypeDatasourceType<T> urlSelectorStrategyClassName(java.lang.String urlSelectorStrategyClassName)
url-selector-strategy-class-name elementurlSelectorStrategyClassName - the value for the element url-selector-strategy-class-nameDatasourceTypejava.lang.String 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(java.lang.Boolean jta)
jta attributejta - the value for the attribute jtaDatasourceTypejava.lang.Boolean isJta()
jta attributejtaDatasourceType<T> removeJta()
jta attributeDatasourceTypeCopyright © 2014 IronJacamar (http://www.ironjacamar.org)