T - the generic type of the XATransactionalConnection that will join the transactionpublic class XAExtensionTransactionalResource<T extends org.mule.runtime.extension.api.connectivity.XATransactionalConnection> extends ExtensionTransactionalResource<T> implements org.mule.runtime.api.tx.MuleXaObject
ExtensionTransactionalResource capable of joining XA transactions.| Constructor and Description |
|---|
XAExtensionTransactionalResource(T connection,
org.mule.runtime.api.connection.ConnectionHandler<T> connectionHandler,
Transaction transaction) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
delist() |
boolean |
enlist() |
Object |
getTargetObject() |
boolean |
isReuseObject() |
void |
setReuseObject(boolean reuseObject) |
begin, commit, getConnection, getConnectionHandler, isTransactionResolved, rollbackpublic XAExtensionTransactionalResource(T connection, org.mule.runtime.api.connection.ConnectionHandler<T> connectionHandler, Transaction transaction)
public boolean enlist()
throws org.mule.runtime.api.tx.TransactionException
enlist in interface org.mule.runtime.api.tx.MuleXaObjectorg.mule.runtime.api.tx.TransactionExceptionpublic boolean delist()
throws Exception
delist in interface org.mule.runtime.api.tx.MuleXaObjectExceptionpublic void close()
throws Exception
close in interface org.mule.runtime.api.tx.MuleXaObjectExceptionpublic boolean isReuseObject()
isReuseObject in interface org.mule.runtime.api.tx.MuleXaObjectpublic void setReuseObject(boolean reuseObject)
setReuseObject in interface org.mule.runtime.api.tx.MuleXaObjectpublic Object getTargetObject()
getTargetObject in interface org.mule.runtime.api.tx.MuleXaObjectCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.