org.jboss.jca.as.converters
Class DatasourcesImpl

java.lang.Object
  extended by org.jboss.jca.as.converters.DatasourcesImpl
All Implemented Interfaces:
DataSources

public class DatasourcesImpl
extends Object
implements 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
DatasourcesImpl(List<NoTxDataSource> noTxDatasource, List<LocalTxDataSource> localTxDatasource, List<XaDataSource> xaDataSource)
          DatasourcesImpl
 
Method Summary
 List<LocalTxDataSource> getLocalTxDataSource()
          Get the local tx datasource.
 List<NoTxDataSource> getNoTxDataSource()
          Get the No Tx datasource.
 List<XaDataSource> getXaDataSource()
          Get the xaDataSource.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatasourcesImpl

public DatasourcesImpl(List<NoTxDataSource> noTxDatasource,
                       List<LocalTxDataSource> localTxDatasource,
                       List<XaDataSource> xaDataSource)
DatasourcesImpl

Parameters:
noTxDatasource - list of NoTxDatasource
localTxDatasource - list of LocalTxDataSource
xaDataSource - list of XaDataSource
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getLocalTxDataSource

public List<LocalTxDataSource> getLocalTxDataSource()
Description copied from interface: DataSources
Get the local tx datasource.

Specified by:
getLocalTxDataSource in interface DataSources
Returns:
the local tx datasource.

getNoTxDataSource

public List<NoTxDataSource> getNoTxDataSource()
Description copied from interface: DataSources
Get the No Tx datasource.

Specified by:
getNoTxDataSource in interface DataSources
Returns:
the NoTx datasource.

getXaDataSource

public List<XaDataSource> getXaDataSource()
Description copied from interface: DataSources
Get the xaDataSource.

Specified by:
getXaDataSource in interface DataSources
Returns:
the xaDataSource.


Copyright © 2011 Red Hat Middleware LLC (http://www.jboss.com/)