org.jboss.jca.common.api.metadata.ds
Interface DataSources

All Superinterfaces:
JCAMetadata, Serializable, ValidatableMetadata

public interface DataSources
extends JCAMetadata, ValidatableMetadata

A DataSources.

Author:
Stefano Maestri

Nested Class Summary
static class DataSources.Tag
          A Tag.
 
Method Summary
 List<DataSource> getDataSource()
          Get the datasource.
 Driver getDriver(String name)
          Get the driver with given name
 List<Driver> getDrivers()
          Get the list of drivers
 List<XaDataSource> getXaDataSource()
          Get the xaDataSource.
 
Methods inherited from interface org.jboss.jca.common.api.metadata.ValidatableMetadata
validate
 

Method Detail

getDataSource

List<DataSource> getDataSource()
Get the datasource.

Returns:
the datasource.

getXaDataSource

List<XaDataSource> getXaDataSource()
Get the xaDataSource.

Returns:
the xaDataSource.

getDrivers

List<Driver> getDrivers()
Get the list of drivers

Returns:
the list of drivers.

getDriver

Driver getDriver(String name)
Get the driver with given name

Parameters:
name - driver's name
Returns:
the driver wit given name.


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)