public class Datasources<T extends Datasources<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Datasources.DatasourcesResources
Child mutators for Datasources
|
Constructor and Description |
---|
Datasources() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
dataSource(DataSource value)
Add the DataSource object to the list of subresources
|
T |
dataSource(DataSourceSupplier supplier)
Install a supplied DataSource object to the list of subresources
|
T |
dataSource(String childKey)
Create and configure a DataSource object to the list of subresources
|
T |
dataSource(String childKey,
DataSourceConsumer consumer)
Create and configure a DataSource object to the list of subresources
|
T |
dataSources(List<DataSource> value)
Add all DataSource objects to this subresource
|
String |
getKey() |
T |
installedDriver(Map value)
List of JDBC drivers that have been installed in the runtime
|
List<Map> |
installedDrivers()
List of JDBC drivers that have been installed in the runtime
|
T |
installedDrivers(List<Map> value)
List of JDBC drivers that have been installed in the runtime
|
T |
installedDrivers(Map... args)
List of JDBC drivers that have been installed in the runtime
|
T |
jdbcDriver(JDBCDriver value)
Add the JDBCDriver object to the list of subresources
|
T |
jdbcDriver(JDBCDriverSupplier supplier)
Install a supplied JDBCDriver object to the list of subresources
|
T |
jdbcDriver(String childKey)
Create and configure a JDBCDriver object to the list of subresources
|
T |
jdbcDriver(String childKey,
JDBCDriverConsumer consumer)
Create and configure a JDBCDriver object to the list of subresources
|
T |
jdbcDrivers(List<JDBCDriver> value)
Add all JDBCDriver objects to this subresource
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Datasources.DatasourcesResources |
subresources() |
T |
xaDataSource(String childKey)
Create and configure a XADataSource object to the list of subresources
|
T |
xaDataSource(String childKey,
XADataSourceConsumer consumer)
Create and configure a XADataSource object to the list of subresources
|
T |
xaDataSource(XADataSource value)
Add the XADataSource object to the list of subresources
|
T |
xaDataSource(XADataSourceSupplier supplier)
Install a supplied XADataSource object to the list of subresources
|
T |
xaDataSources(List<XADataSource> value)
Add all XADataSource objects to this subresource
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Datasources.DatasourcesResources subresources()
public T jdbcDrivers(List<JDBCDriver> value)
value
- List of JDBCDriver objects.public T jdbcDriver(JDBCDriver value)
value
- The JDBCDriver to addpublic T jdbcDriver(String childKey, JDBCDriverConsumer consumer)
key
- The key for the JDBCDriver resourceconfig
- The JDBCDriverConsumer to usepublic T jdbcDriver(String childKey)
key
- The key for the JDBCDriver resourcepublic T jdbcDriver(JDBCDriverSupplier supplier)
public T xaDataSources(List<XADataSource> value)
value
- List of XADataSource objects.public T xaDataSource(XADataSource value)
value
- The XADataSource to addpublic T xaDataSource(String childKey, XADataSourceConsumer consumer)
key
- The key for the XADataSource resourceconfig
- The XADataSourceConsumer to usepublic T xaDataSource(String childKey)
key
- The key for the XADataSource resourcepublic T xaDataSource(XADataSourceSupplier supplier)
public T dataSources(List<DataSource> value)
value
- List of DataSource objects.public T dataSource(DataSource value)
value
- The DataSource to addpublic T dataSource(String childKey, DataSourceConsumer consumer)
key
- The key for the DataSource resourceconfig
- The DataSourceConsumer to usepublic T dataSource(String childKey)
key
- The key for the DataSource resourcepublic T dataSource(DataSourceSupplier supplier)
public List<Map> installedDrivers()
public T installedDrivers(List<Map> value)
public T installedDriver(Map value)
Copyright © 2020 JBoss by Red Hat. All rights reserved.