Package org.jboss.jca.as.converters
Class DatasourcesImpl
java.lang.Object
org.jboss.jca.as.converters.DatasourcesImpl
- All Implemented Interfaces:
DataSources
A XaDataSource impl.
- Version:
- $Revision: $
- Author:
- Jeff Zhang
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.jca.as.converters.DataSources
DataSources.Tag -
Constructor Summary
ConstructorsConstructorDescriptionDatasourcesImpl(List<NoTxDataSource> noTxDatasource, List<LocalTxDataSource> localTxDatasource, List<XaDataSource> xaDataSource) DatasourcesImpl -
Method Summary
Modifier and TypeMethodDescriptionGet the local tx datasource.Get the No Tx datasource.Get the xaDataSource.toString()
-
Constructor Details
-
DatasourcesImpl
public DatasourcesImpl(List<NoTxDataSource> noTxDatasource, List<LocalTxDataSource> localTxDatasource, List<XaDataSource> xaDataSource) DatasourcesImpl- Parameters:
noTxDatasource- list of NoTxDatasourcelocalTxDatasource- list of LocalTxDataSourcexaDataSource- list of XaDataSource
-
-
Method Details
-
toString
-
getLocalTxDataSource
Description copied from interface:DataSourcesGet the local tx datasource.- Specified by:
getLocalTxDataSourcein interfaceDataSources- Returns:
- the local tx datasource.
-
getNoTxDataSource
Description copied from interface:DataSourcesGet the No Tx datasource.- Specified by:
getNoTxDataSourcein interfaceDataSources- Returns:
- the NoTx datasource.
-
getXaDataSource
Description copied from interface:DataSourcesGet the xaDataSource.- Specified by:
getXaDataSourcein interfaceDataSources- Returns:
- the xaDataSource.
-