public class Datasources<T extends Datasources> extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Datasources.DatasourcesResources
Child mutators for Datasources
|
| Constructor and Description |
|---|
Datasources() |
| Modifier and Type | Method and Description |
|---|---|
T |
dataSource(DataSource value)
Add the org.wildfly.swarm.config.datasources.DataSource object to the list of subresources
|
T |
dataSource(String childKey)
Create and configure a org.wildfly.swarm.config.datasources.DataSource object to the list of subresources
|
T |
dataSource(String childKey,
DataSourceConfigurator config)
Create and configure a org.wildfly.swarm.config.datasources.DataSource object to the list of subresources
|
T |
dataSources(List<DataSource> value)
Add all org.wildfly.swarm.config.datasources.DataSource objects to this subresource
|
String |
getKey() |
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 |
jdbcDriver(JdbcDriver value)
Add the org.wildfly.swarm.config.datasources.JdbcDriver object to the list of subresources
|
T |
jdbcDriver(String childKey)
Create and configure a org.wildfly.swarm.config.datasources.JdbcDriver object to the list of subresources
|
T |
jdbcDriver(String childKey,
JdbcDriverConfigurator config)
Create and configure a org.wildfly.swarm.config.datasources.JdbcDriver object to the list of subresources
|
T |
jdbcDrivers(List<JdbcDriver> value)
Add all org.wildfly.swarm.config.datasources.JdbcDriver objects to this subresource
|
Datasources.DatasourcesResources |
subresources() |
T |
xaDataSource(String childKey)
Create and configure a org.wildfly.swarm.config.datasources.XaDataSource object to the list of subresources
|
T |
xaDataSource(String childKey,
XaDataSourceConfigurator config)
Create and configure a org.wildfly.swarm.config.datasources.XaDataSource object to the list of subresources
|
T |
xaDataSource(XaDataSource value)
Add the org.wildfly.swarm.config.datasources.XaDataSource object to the list of subresources
|
T |
xaDataSources(List<XaDataSource> value)
Add all org.wildfly.swarm.config.datasources.XaDataSource objects to this subresource
|
public String getKey()
public List<Map> installedDrivers()
public T installedDrivers(List<Map> value)
public Datasources.DatasourcesResources subresources()
public T jdbcDrivers(List<JdbcDriver> value)
value - List of org.wildfly.swarm.config.datasources.JdbcDriver objects.public T jdbcDriver(JdbcDriver value)
value - The org.wildfly.swarm.config.datasources.JdbcDriver to addpublic T jdbcDriver(String childKey, JdbcDriverConfigurator config)
key - The key for the org.wildfly.swarm.config.datasources.JdbcDriver resourceconfig - The org.wildfly.swarm.config.datasources.JdbcDriverConfigurator to usepublic T jdbcDriver(String childKey)
key - The key for the org.wildfly.swarm.config.datasources.JdbcDriver resourcepublic T xaDataSources(List<XaDataSource> value)
value - List of org.wildfly.swarm.config.datasources.XaDataSource objects.public T xaDataSource(XaDataSource value)
value - The org.wildfly.swarm.config.datasources.XaDataSource to addpublic T xaDataSource(String childKey, XaDataSourceConfigurator config)
key - The key for the org.wildfly.swarm.config.datasources.XaDataSource resourceconfig - The org.wildfly.swarm.config.datasources.XaDataSourceConfigurator to usepublic T xaDataSource(String childKey)
key - The key for the org.wildfly.swarm.config.datasources.XaDataSource resourcepublic T dataSources(List<DataSource> value)
value - List of org.wildfly.swarm.config.datasources.DataSource objects.public T dataSource(DataSource value)
value - The org.wildfly.swarm.config.datasources.DataSource to addpublic T dataSource(String childKey, DataSourceConfigurator config)
key - The key for the org.wildfly.swarm.config.datasources.DataSource resourceconfig - The org.wildfly.swarm.config.datasources.DataSourceConfigurator to useCopyright © 2015 JBoss by Red Hat. All rights reserved.