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