Package | Description |
---|---|
org.jboss.datasources.api |
Provides the implementation classes as defined in the schema
|
org.jboss.datasources.impl |
Provides the implementation classes as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
DatasourcesDescriptor |
DatasourcesDescriptor.removeAllDatasource()
Removes all
datasource elements |
DatasourcesDescriptor |
DatasourcesDescriptor.removeAllXaDatasource()
Removes all
xa-datasource elements |
DatasourcesDescriptor |
DatasourcesDescriptor.removeDrivers()
Removes the
drivers element |
Modifier and Type | Method and Description |
---|---|
DatasourceType<DatasourcesDescriptor> |
DatasourcesDescriptor.createDatasource()
Creates a new
datasource element |
XaDatasourceType<DatasourcesDescriptor> |
DatasourcesDescriptor.createXaDatasource()
Creates a new
xa-datasource element |
List<DatasourceType<DatasourcesDescriptor>> |
DatasourcesDescriptor.getAllDatasource()
Returns all
datasource elements |
List<XaDatasourceType<DatasourcesDescriptor>> |
DatasourcesDescriptor.getAllXaDatasource()
Returns all
xa-datasource elements |
DatasourceType<DatasourcesDescriptor> |
DatasourcesDescriptor.getOrCreateDatasource()
If not already created, a new
datasource element will be created and returned. |
DriversType<DatasourcesDescriptor> |
DatasourcesDescriptor.getOrCreateDrivers()
If not already created, a new
drivers element with the given value will be created. |
XaDatasourceType<DatasourcesDescriptor> |
DatasourcesDescriptor.getOrCreateXaDatasource()
If not already created, a new
xa-datasource element will be created and returned. |
Modifier and Type | Class and Description |
---|---|
class |
DatasourcesDescriptorImpl
This deployment descriptor provides the functionalities as described in the specification
Example:
DatasourcesDescriptor descriptor = Descriptors.create(DatasourcesDescriptor.class);
|
Modifier and Type | Method and Description |
---|---|
DatasourcesDescriptor |
DatasourcesDescriptorImpl.addDefaultNamespaces()
Adds the default namespaces as defined in the specification
|
DatasourcesDescriptor |
DatasourcesDescriptorImpl.addNamespace(String name,
String value)
Adds a new namespace
|
DatasourcesDescriptor |
DatasourcesDescriptorImpl.removeAllDatasource()
Removes all
datasource elements |
DatasourcesDescriptor |
DatasourcesDescriptorImpl.removeAllNamespaces()
Removes all existing namespaces.
|
DatasourcesDescriptor |
DatasourcesDescriptorImpl.removeAllXaDatasource()
Removes all
xa-datasource elements |
DatasourcesDescriptor |
DatasourcesDescriptorImpl.removeDrivers()
Removes the
drivers element |
Modifier and Type | Method and Description |
---|---|
DatasourceType<DatasourcesDescriptor> |
DatasourcesDescriptorImpl.createDatasource()
Creates a new
datasource element |
XaDatasourceType<DatasourcesDescriptor> |
DatasourcesDescriptorImpl.createXaDatasource()
Creates a new
xa-datasource element |
List<DatasourceType<DatasourcesDescriptor>> |
DatasourcesDescriptorImpl.getAllDatasource()
Returns all
datasource elements |
List<XaDatasourceType<DatasourcesDescriptor>> |
DatasourcesDescriptorImpl.getAllXaDatasource()
Returns all
xa-datasource elements |
DatasourceType<DatasourcesDescriptor> |
DatasourcesDescriptorImpl.getOrCreateDatasource()
If not already created, a new
datasource element will be created and returned. |
DriversType<DatasourcesDescriptor> |
DatasourcesDescriptorImpl.getOrCreateDrivers()
If not already created, a new
drivers element with the given value will be created. |
XaDatasourceType<DatasourcesDescriptor> |
DatasourcesDescriptorImpl.getOrCreateXaDatasource()
If not already created, a new
xa-datasource element will be created and returned. |
Copyright © 2017 JBoss by Red Hat. All rights reserved.