public abstract class AbstractDataSourceProxyXA extends BaseDataSourceResource<ConnectionProxyXA>
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_RESOURCE_GROUP_ID |
branchType, dataSource, dbType, driver, resourceGroupId, resourceId| Constructor and Description |
|---|
AbstractDataSourceProxyXA() |
| Modifier and Type | Method and Description |
|---|---|
void |
forceClosePhysicalConnection(XAXid xaXid)
Force close the physical connection kept for XA branch of given XAXid.
|
ConnectionProxyXA |
getConnectionForXAFinish(XAXid xaXid)
Get a ConnectionProxyXA instance for finishing XA branch(XA commit/XA rollback)
|
protected abstract Connection |
getConnectionProxyXA() |
dataSourceCheck, getBranchStatus, getBranchType, getDbType, getDriver, getKeeper, getLoginTimeout, getLogWriter, getParentLogger, getResourceGroupId, getResourceId, getTargetDataSource, hold, isShouldBeHeld, isWrapperFor, lookup, release, remove, setBranchStatus, setBranchType, setDbType, setDriver, setLoginTimeout, setLogWriter, setResourceGroupId, setResourceId, setShouldBeHeld, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConnection, getConnectionprotected static final String DEFAULT_RESOURCE_GROUP_ID
public ConnectionProxyXA getConnectionForXAFinish(XAXid xaXid) throws SQLException
SQLException - exceptionprotected abstract Connection getConnectionProxyXA() throws SQLException
SQLExceptionpublic void forceClosePhysicalConnection(XAXid xaXid) throws SQLException
xaXid - the given XAXidSQLException - exceptionCopyright © 2024 Apache. All rights reserved.