org.jboss.jca.common.metadata.ds
Class XADataSourceImpl

java.lang.Object
  extended by org.jboss.jca.common.metadata.ds.DataSourceAbstractImpl
      extended by org.jboss.jca.common.metadata.ds.XADataSourceImpl
All Implemented Interfaces:
Serializable, org.jboss.jca.common.api.metadata.ds.CommonDataSource, org.jboss.jca.common.api.metadata.ds.XaDataSource, org.jboss.jca.common.api.metadata.JCAMetadata

public class XADataSourceImpl
extends DataSourceAbstractImpl
implements org.jboss.jca.common.api.metadata.ds.XaDataSource

A DataSourceImpl.

Author:
Stefano Maestri
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.ds.XaDataSource
org.jboss.jca.common.api.metadata.ds.XaDataSource.Attribute, org.jboss.jca.common.api.metadata.ds.XaDataSource.Tag
 
Field Summary
 
Fields inherited from class org.jboss.jca.common.metadata.ds.DataSourceAbstractImpl
enabled, jndiName, poolName, security, statement, timeOut, transactionIsolation, urlDelimiter, urlSelectorStrategyClassName, useJavaContext, validation
 
Constructor Summary
XADataSourceImpl(org.jboss.jca.common.api.metadata.ds.TransactionIsolation transactionIsolation, org.jboss.jca.common.api.metadata.ds.TimeOut timeOut, org.jboss.jca.common.api.metadata.common.CommonSecurity security, org.jboss.jca.common.api.metadata.ds.Statement statement, org.jboss.jca.common.api.metadata.ds.Validation validation, String urlDelimiter, String urlSelectorStrategyClassName, boolean useJavaContext, String poolName, boolean enabled, String jndiName, Map<String,String> xaDataSourceProperty, String xaDataSourceClass, String newConnectionSql, org.jboss.jca.common.api.metadata.common.CommonXaPool xaPool)
          Create a new XADataSourceImpl.
 
Method Summary
 boolean equals(Object obj)
           
 String getNewConnectionSql()
          Get the newConnectionSql.
 org.jboss.jca.common.api.metadata.ds.Statement getStatement()
          Get the statement.
 String getUrlDelimiter()
          Get the urlDelimiter.
 String getUrlSelectorStrategyClassName()
          Get the urlSelectorStrategyClassName.
 String getXaDataSourceClass()
          Get the xaDataSourceClass.
 Map<String,String> getXaDataSourceProperty()
          Get the xaDataSourceProperty.
 org.jboss.jca.common.api.metadata.common.CommonXaPool getXaPool()
          Get the xaPool.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jboss.jca.common.metadata.ds.DataSourceAbstractImpl
getJndiName, getPoolName, getSecurity, getTimeOut, getTransactionIsolation, getValidation, isEnabled, isUseJavaContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.jca.common.api.metadata.ds.CommonDataSource
getJndiName, getPoolName, getSecurity, getTimeOut, getTransactionIsolation, getValidation, isEnabled, isUseJavaContext
 

Constructor Detail

XADataSourceImpl

public XADataSourceImpl(org.jboss.jca.common.api.metadata.ds.TransactionIsolation transactionIsolation,
                        org.jboss.jca.common.api.metadata.ds.TimeOut timeOut,
                        org.jboss.jca.common.api.metadata.common.CommonSecurity security,
                        org.jboss.jca.common.api.metadata.ds.Statement statement,
                        org.jboss.jca.common.api.metadata.ds.Validation validation,
                        String urlDelimiter,
                        String urlSelectorStrategyClassName,
                        boolean useJavaContext,
                        String poolName,
                        boolean enabled,
                        String jndiName,
                        Map<String,String> xaDataSourceProperty,
                        String xaDataSourceClass,
                        String newConnectionSql,
                        org.jboss.jca.common.api.metadata.common.CommonXaPool xaPool)
Create a new XADataSourceImpl.

Parameters:
transactionIsolation - transactionIsolation
timeOut - timeOut
security - security
statement - statement
validation - validation
urlDelimiter - urlDelimiter
urlSelectorStrategyClassName - urlSelectorStrategyClassName
useJavaContext - useJavaContext
poolName - poolName
enabled - enabled
jndiName - jndiName
xaDataSourceProperty - xaDataSourceProperty
xaDataSourceClass - xaDataSourceClass
newConnectionSql - newConnectionSql
xaPool - xaPool
Method Detail

getXaDataSourceClass

public final String getXaDataSourceClass()
Get the xaDataSourceClass.

Specified by:
getXaDataSourceClass in interface org.jboss.jca.common.api.metadata.ds.XaDataSource
Returns:
the xaDataSourceClass.

getStatement

public final org.jboss.jca.common.api.metadata.ds.Statement getStatement()
Get the statement.

Specified by:
getStatement in interface org.jboss.jca.common.api.metadata.ds.XaDataSource
Returns:
the statement.

getUrlDelimiter

public final String getUrlDelimiter()
Get the urlDelimiter.

Specified by:
getUrlDelimiter in interface org.jboss.jca.common.api.metadata.ds.XaDataSource
Returns:
the urlDelimiter.

getUrlSelectorStrategyClassName

public final String getUrlSelectorStrategyClassName()
Get the urlSelectorStrategyClassName.

Specified by:
getUrlSelectorStrategyClassName in interface org.jboss.jca.common.api.metadata.ds.XaDataSource
Returns:
the urlSelectorStrategyClassName.

getNewConnectionSql

public final String getNewConnectionSql()
Get the newConnectionSql.

Specified by:
getNewConnectionSql in interface org.jboss.jca.common.api.metadata.ds.XaDataSource
Returns:
the newConnectionSql.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

getXaDataSourceProperty

public final Map<String,String> getXaDataSourceProperty()
Get the xaDataSourceProperty.

Specified by:
getXaDataSourceProperty in interface org.jboss.jca.common.api.metadata.ds.XaDataSource
Returns:
the xaDataSourceProperty.

getXaPool

public final org.jboss.jca.common.api.metadata.common.CommonXaPool getXaPool()
Get the xaPool.

Specified by:
getXaPool in interface org.jboss.jca.common.api.metadata.ds.XaDataSource
Returns:
the xaPool.


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