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

All Superinterfaces:
CommonDataSource, JCAMetadata, Serializable, ValidatableMetadata

public interface DataSource
extends CommonDataSource

A DataSource.

Author:
Stefano Maestri

Nested Class Summary
static class DataSource.Attribute
          A Attribute.
static class DataSource.Tag
          A Tag.
 
Method Summary
 Map<String,String> getConnectionProperties()
          Get the connectionProperties.
 String getConnectionUrl()
          Get the connectionUrl.
 String getDataSourceClass()
          Get the dataSourceClass.
 String getDriverClass()
          Get the driverClass.
 String getNewConnectionSql()
          Get the newConnectionSql.
 CommonPool getPool()
          Get the pool.
 Statement getStatement()
          Get the statement.
 String getUrlDelimiter()
          Get the urlDelimiter.
 String getUrlSelectorStrategyClassName()
          Get the urlSelectorStrategyClassName.
 Boolean isJTA()
          Get the JTA setting.
 
Methods inherited from interface org.jboss.jca.common.api.metadata.ds.CommonDataSource
getDriver, getJndiName, getPoolName, getSecurity, getTimeOut, getTransactionIsolation, getValidation, isEnabled, isSpy, isUseCcm, isUseJavaContext, setEnabled
 
Methods inherited from interface org.jboss.jca.common.api.metadata.ValidatableMetadata
validate
 

Method Detail

isJTA

Boolean isJTA()
Get the JTA setting.

Returns:
The value

getConnectionUrl

String getConnectionUrl()
Get the connectionUrl.

Returns:
the connectionUrl.

getDriverClass

String getDriverClass()
Get the driverClass.

Returns:
the driverClass.

getDataSourceClass

String getDataSourceClass()
Get the dataSourceClass.

Returns:
the value.

getConnectionProperties

Map<String,String> getConnectionProperties()
Get the connectionProperties.

Returns:
the connectionProperties.

getStatement

Statement getStatement()
Get the statement.

Returns:
the statement.

getUrlDelimiter

String getUrlDelimiter()
Get the urlDelimiter.

Returns:
the urlDelimiter.

getUrlSelectorStrategyClassName

String getUrlSelectorStrategyClassName()
Get the urlSelectorStrategyClassName.

Returns:
the urlSelectorStrategyClassName.

getNewConnectionSql

String getNewConnectionSql()
Get the newConnectionSql.

Returns:
the newConnectionSql.

getPool

CommonPool getPool()
Get the pool.

Returns:
the pool.


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