org.mule.transaction
Class TransactionTemplate<T>
java.lang.Object
org.mule.transaction.TransactionTemplate<T>
public class TransactionTemplate<T>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionTemplate
public TransactionTemplate(TransactionConfig config,
MuleContext context)
execute
public T execute(TransactionCallback<T> callback)
throws Exception
- Throws:
Exception
resolveTransaction
protected void resolveTransaction(Transaction tx)
throws TransactionException
- Throws:
TransactionException
suspendXATransaction
protected void suspendXATransaction(Transaction tx)
throws TransactionException
- Throws:
TransactionException
resumeXATransaction
protected void resumeXATransaction(Transaction tx)
throws TransactionException
- Throws:
TransactionException
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.