public class TransactionBindingDelegate extends Object
ConnectionHandler that has been bound to it.| Modifier and Type | Class and Description |
|---|---|
static interface |
TransactionBindingDelegate.ConnectionSupplier<T> |
| Constructor and Description |
|---|
TransactionBindingDelegate(org.mule.runtime.api.meta.model.ExtensionModel extensionModel,
org.mule.runtime.api.meta.model.ComponentModel componentModel) |
| Modifier and Type | Method and Description |
|---|---|
<T extends org.mule.runtime.extension.api.connectivity.TransactionalConnection> |
getBoundResource(boolean lazyConnections,
ExtensionTransactionKey txKey,
TransactionBindingDelegate.ConnectionSupplier<org.mule.runtime.api.connection.ConnectionHandler<T>> connectionHandlerSupplier) |
public TransactionBindingDelegate(org.mule.runtime.api.meta.model.ExtensionModel extensionModel,
org.mule.runtime.api.meta.model.ComponentModel componentModel)
public <T extends org.mule.runtime.extension.api.connectivity.TransactionalConnection> org.mule.runtime.api.connection.ConnectionHandler<T> getBoundResource(boolean lazyConnections,
ExtensionTransactionKey txKey,
TransactionBindingDelegate.ConnectionSupplier<org.mule.runtime.api.connection.ConnectionHandler<T>> connectionHandlerSupplier)
throws org.mule.runtime.api.connection.ConnectionException,
org.mule.runtime.api.tx.TransactionException
txKey - the transaction keyconnectionHandlerSupplier - Supplier to get the ConnectionHandler of the current componentConnectionHandler that has be bound to the transaction.org.mule.runtime.api.connection.ConnectionException - if a problem occurred retrieving the ConnectionHandlerorg.mule.runtime.api.tx.TransactionException - if the connection could not be bound to the current transactionCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.