public class DatasourcesImpl extends Object implements DataSources
DataSources.Tag
Constructor and Description |
---|
DatasourcesImpl(List<DataSource> datasource,
List<XaDataSource> xaDataSource,
Map<String,Driver> drivers)
Create a new DatasourcesImpl.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<DataSource> |
getDataSource()
Get the datasource.
|
Driver |
getDriver(String name) |
List<Driver> |
getDrivers() |
List<XaDataSource> |
getXaDataSource()
Get the xaDataSource.
|
int |
hashCode() |
String |
toString() |
void |
validate() |
public DatasourcesImpl(List<DataSource> datasource, List<XaDataSource> xaDataSource, Map<String,Driver> drivers) throws ValidateException
datasource
- datasourcexaDataSource
- xaDataSourcedrivers
- driversValidateException
- ValidateExceptionpublic final List<DataSource> getDataSource()
getDataSource
in interface DataSources
public final List<XaDataSource> getXaDataSource()
getXaDataSource
in interface DataSources
public void validate() throws ValidateException
validate
in interface ValidatableMetadata
ValidateException
public Driver getDriver(String name)
getDriver
in interface DataSources
public List<Driver> getDrivers()
getDrivers
in interface DataSources
Copyright © 2021 JBoss by Red Hat. All rights reserved.