Package org.jboss.jca.common.metadata.ds
Class DataSourceAbstractImpl
java.lang.Object
org.jboss.jca.common.metadata.ds.DataSourceAbstractImpl
- All Implemented Interfaces:
Serializable,CommonDataSource,JCAMetadata,ValidatableMetadata
- Direct Known Subclasses:
DataSourceImpl,XADataSourceImpl
A DataSourceAbstractImpl.
- Author:
- Stefano Maestri
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static CommonBundleThe bundleprotected BooleanConnectableprotected StringDriverprotected Booleanenabledprotected BooleanEnlistment traceprotected StringjndiNameprotected StringMCPprotected StringNew connection SQLprotected StringpoolNameprotected DsSecuritysecurityprotected Booleanspyprotected Statementstatementprotected TimeOuttimeOutprotected BooleanTrackingprotected TransactionIsolationtransactionIsolationprotected StringurlDelimiterprotected StringurlSelectorStrategyClassNameprotected Booleanuse-ccmprotected BooleanuseJavaContextprotected Validationvalidation -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDataSourceAbstractImpl(TransactionIsolation transactionIsolation, TimeOut timeOut, DsSecurity security, Statement statement, Validation validation, String urlDelimiter, String urlSelectorStrategyClassName, Boolean useJavaContext, String poolName, Boolean enabled, String jndiName, Boolean spy, Boolean useCcm, String driver, String newConnectionSql, Boolean connectable, Boolean tracking, String mcp, Boolean enlistmentTrace) Create a new DataSourceAbstractImpl. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jboss.jca.common.api.metadata.ValidatableMetadata
validate
-
Field Details
-
bundle
The bundle -
transactionIsolation
transactionIsolation -
timeOut
timeOut -
security
security -
statement
statement -
validation
validation -
urlDelimiter
urlDelimiter -
urlSelectorStrategyClassName
urlSelectorStrategyClassName -
useJavaContext
useJavaContext -
poolName
poolName -
enabled
enabled -
jndiName
jndiName -
spy
spy -
useCcm
use-ccm -
driver
Driver -
newConnectionSql
New connection SQL -
connectable
Connectable -
tracking
Tracking -
mcp
MCP -
enlistmentTrace
Enlistment trace
-
-
Constructor Details
-
DataSourceAbstractImpl
protected DataSourceAbstractImpl(TransactionIsolation transactionIsolation, TimeOut timeOut, DsSecurity security, Statement statement, Validation validation, String urlDelimiter, String urlSelectorStrategyClassName, Boolean useJavaContext, String poolName, Boolean enabled, String jndiName, Boolean spy, Boolean useCcm, String driver, String newConnectionSql, Boolean connectable, Boolean tracking, String mcp, Boolean enlistmentTrace) throws ValidateException Create a new DataSourceAbstractImpl.- Parameters:
transactionIsolation- transactionIsolationtimeOut- timeOutsecurity- securitystatement- statementvalidation- validationurlDelimiter- urlDelimiterurlSelectorStrategyClassName- urlSelectorStrategyClassNameuseJavaContext- useJavaContextpoolName- poolNameenabled- enabledjndiName- jndiNamespy- spyuseCcm- useCcmdriver- drivernewConnectionSql- newConnectionSqlconnectable- connectabletracking- trackingmcp- mcpenlistmentTrace- enlistmentTrace- Throws:
ValidateException- ValidateException
-
-
Method Details
-
getTransactionIsolation
- Specified by:
getTransactionIsolationin interfaceCommonDataSource
-
getTimeOut
- Specified by:
getTimeOutin interfaceCommonDataSource
-
getSecurity
- Specified by:
getSecurityin interfaceCommonDataSource
-
getValidation
- Specified by:
getValidationin interfaceCommonDataSource
-
getStatement
-
getUrlDelimiter
-
getUrlSelectorStrategyClassName
-
isUseJavaContext
- Specified by:
isUseJavaContextin interfaceCommonDataSource
-
getPoolName
- Specified by:
getPoolNamein interfaceCommonDataSource
-
isEnabled
- Specified by:
isEnabledin interfaceCommonDataSource
-
getJndiName
- Specified by:
getJndiNamein interfaceCommonDataSource
-
isSpy
- Specified by:
isSpyin interfaceCommonDataSource
-
isUseCcm
- Specified by:
isUseCcmin interfaceCommonDataSource
-
getDriver
- Specified by:
getDriverin interfaceCommonDataSource
-
getNewConnectionSql
-
isConnectable
-
isTracking
-
getMcp
- Specified by:
getMcpin interfaceCommonDataSource
-
isEnlistmentTrace
- Specified by:
isEnlistmentTracein interfaceCommonDataSource
-
setEnabled
- Specified by:
setEnabledin interfaceCommonDataSource
-
partialCommonValidation
Partial validation for common fields defined in this abstract class- Throws:
ValidateException- ValidateException
-
hashCode
public int hashCode() -
equals
-
toString
-