Interface DataSource
-
- All Superinterfaces:
CommonDataSource,JCAMetadata,Serializable,ValidatableMetadata
public interface DataSource extends CommonDataSource
A DataSource.- Author:
- Stefano Maestri
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDataSource.AttributeAn attribute.static classDataSource.TagA Tag.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>getConnectionProperties()Get the connectionProperties.StringgetConnectionUrl()Get the connectionUrl.StringgetDataSourceClass()Get the dataSourceClass.StringgetDriverClass()Get the driverClass.StringgetNewConnectionSql()Get the newConnectionSql.DsPoolgetPool()Get the pool.StatementgetStatement()Get the statement.StringgetUrlDelimiter()Get the urlDelimiter.StringgetUrlSelectorStrategyClassName()Get the urlSelectorStrategyClassName.BooleanisConnectable()Get the connectable flagBooleanisJTA()Get the JTA setting.BooleanisTracking()Get the tracking flag-
Methods inherited from interface org.jboss.jca.common.api.metadata.ds.CommonDataSource
getDriver, getJndiName, getMcp, getPoolName, getSecurity, getTimeOut, getTransactionIsolation, getValidation, isEnabled, isEnlistmentTrace, 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
DsPool getPool()
Get the pool.- Returns:
- the pool.
-
isConnectable
Boolean isConnectable()
Get the connectable flag- Returns:
- The value
-
isTracking
Boolean isTracking()
Get the tracking flag- Returns:
nullis container default, a value is an override
-
-