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 DataSourcespublic final List<XaDataSource> getXaDataSource()
getXaDataSource in interface DataSourcespublic void validate()
throws ValidateException
validate in interface ValidatableMetadataValidateExceptionpublic Driver getDriver(String name)
getDriver in interface DataSourcespublic List<Driver> getDrivers()
getDrivers in interface DataSourcesCopyright © 2021 JBoss by Red Hat. All rights reserved.