public class AtomikosDataSourceBean extends AbstractDataSourceBean
| Constructor and Description |
|---|
AtomikosDataSourceBean() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose() |
protected ConnectionFactory |
doInit() |
javax.sql.XADataSource |
getXaDataSource()
Gets the configured XADataSource (if any).
|
java.lang.String |
getXaDataSourceClassName()
Get the XADataSource class name.
|
java.util.Properties |
getXaProperties()
Gets the properties used to
configure the XADataSource.
|
protected boolean |
isAssignableFromWrappedVendorClass(java.lang.Class<?> iface) |
void |
setXaDataSource(javax.sql.XADataSource xaDataSource)
Sets the XADataSource directly - instead of providing the xaDataSourceClassName and xaProperties.
|
void |
setXaDataSourceClassName(java.lang.String xaDataSourceClassName)
Sets the fully qualified underlying XADataSource class name.
|
void |
setXaProperties(java.util.Properties xaProperties)
Sets the properties (name,value pairs) used to
configure the XADataSource.
|
java.lang.String |
toString() |
protected java.lang.Object |
unwrapVendorInstance() |
close, getBorrowConnectionTimeout, getConcurrentConnectionValidation, getConnection, getConnection, getDefaultIsolationLevel, getLocalTransactionMode, getLoginTimeout, getLogWriter, getMaintenanceInterval, getMaxIdleTime, getMaxLifetime, getMaxPoolSize, getMinPoolSize, getParentLogger, getReapTimeout, getReference, getTestQuery, getUniqueResourceName, init, isWrapperFor, poolAvailableSize, poolTotalSize, refreshPool, setBorrowConnectionTimeout, setConcurrentConnectionValidation, setDefaultIsolationLevel, setLoginTimeout, setLogWriter, setMaintenanceInterval, setMaxIdleTime, setMaxLifetime, setMaxPoolSize, setMinPoolSize, setPoolSize, setReapTimeout, setTestQuery, setUniqueResourceName, throwAtomikosSQLException, unwrappublic java.util.Properties getXaProperties()
public void setXaProperties(java.util.Properties xaProperties)
xaProperties - public java.lang.String getXaDataSourceClassName()
public void setXaDataSourceClassName(java.lang.String xaDataSourceClassName)
xaDataSourceClassName - public javax.sql.XADataSource getXaDataSource()
public void setXaDataSource(javax.sql.XADataSource xaDataSource)
xaDataSource - protected ConnectionFactory doInit() throws java.lang.Exception
doInit in class AbstractDataSourceBeanjava.lang.Exceptionprotected void doClose()
doClose in class AbstractDataSourceBeanpublic java.lang.String toString()
toString in class java.lang.Objectprotected boolean isAssignableFromWrappedVendorClass(java.lang.Class<?> iface)
isAssignableFromWrappedVendorClass in class AbstractDataSourceBeanprotected java.lang.Object unwrapVendorInstance()
unwrapVendorInstance in class AbstractDataSourceBeanCopyright © 2018. All Rights Reserved.