
public interface DatasourcesType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
datasourcesType xsd type| Modifier and Type | Method and Description |
|---|---|
DatasourceType<DatasourcesType<T>> |
createDatasource()
Creates a new
datasource element |
XaDatasourceType<DatasourcesType<T>> |
createXaDatasource()
Creates a new
xa-datasource element |
List<DatasourceType<DatasourcesType<T>>> |
getAllDatasource()
Returns all
datasource elements |
List<XaDatasourceType<DatasourcesType<T>>> |
getAllXaDatasource()
Returns all
xa-datasource elements |
DatasourceType<DatasourcesType<T>> |
getOrCreateDatasource()
If not already created, a new
datasource element will be created and returned. |
DriversType<DatasourcesType<T>> |
getOrCreateDrivers()
If not already created, a new
drivers element with the given value will be created. |
XaDatasourceType<DatasourcesType<T>> |
getOrCreateXaDatasource()
If not already created, a new
xa-datasource element will be created and returned. |
DatasourcesType<T> |
removeAllDatasource()
Removes all
datasource elements |
DatasourcesType<T> |
removeAllXaDatasource()
Removes all
xa-datasource elements |
DatasourcesType<T> |
removeDrivers()
Removes the
drivers element |
DatasourceType<DatasourcesType<T>> getOrCreateDatasource()
datasource element will be created and returned.
Otherwise, the first existing datasource element will be returned.datasourceDatasourceType<DatasourcesType<T>> createDatasource()
datasource elementDatasourceType> List<DatasourceType<DatasourcesType<T>>> getAllDatasource()
datasource elementsdatasourceDatasourcesType<T> removeAllDatasource()
datasource elementsDatasourceType> XaDatasourceType<DatasourcesType<T>> getOrCreateXaDatasource()
xa-datasource element will be created and returned.
Otherwise, the first existing xa-datasource element will be returned.xa-datasourceXaDatasourceType<DatasourcesType<T>> createXaDatasource()
xa-datasource elementXaDatasourceType> List<XaDatasourceType<DatasourcesType<T>>> getAllXaDatasource()
xa-datasource elementsxa-datasourceDatasourcesType<T> removeAllXaDatasource()
xa-datasource elementsXaDatasourceType> DriversType<DatasourcesType<T>> getOrCreateDrivers()
drivers element with the given value will be created.
Otherwise, the existing drivers element will be returned.DriversType> DatasourcesType<T> removeDrivers()
drivers elementDatasourcesTypeCopyright © 2013 IronJacamar (http://www.ironjacamar.org)