|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DatasourcesType<T>
This interface defines the contract for the datasourcesType
xsd type
Method Summary | |
---|---|
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
DatasourceType<DatasourcesType<T>> getOrCreateDatasource()
datasource
element will be created and returned.
Otherwise, the first existing datasource
element will be returned.
datasource
DatasourceType<DatasourcesType<T>> createDatasource()
datasource
element
DatasourceType>
List<DatasourceType<DatasourcesType<T>>> getAllDatasource()
datasource
elements
datasource
DatasourcesType<T> removeAllDatasource()
datasource
elements
DatasourceType>
XaDatasourceType<DatasourcesType<T>> getOrCreateXaDatasource()
xa-datasource
element will be created and returned.
Otherwise, the first existing xa-datasource
element will be returned.
xa-datasource
XaDatasourceType<DatasourcesType<T>> createXaDatasource()
xa-datasource
element
XaDatasourceType>
List<XaDatasourceType<DatasourcesType<T>>> getAllXaDatasource()
xa-datasource
elements
xa-datasource
DatasourcesType<T> removeAllXaDatasource()
xa-datasource
elements
XaDatasourceType>
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
element
DatasourcesType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |