|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.transaction.compensating.support.CompensatingTransactionUtils
public class CompensatingTransactionUtils
Common methods for use with compensating transactions.
Method Summary | |
---|---|
static void |
performOperation(java.lang.Object synchronizationKey,
java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] args)
Perform the specified operation, storing the state prior to the operation in order to enable commit/rollback later. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void performOperation(java.lang.Object synchronizationKey, java.lang.Object target, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
synchronizationKey
- the transaction synchronization key we are operating on
(typically something similar to a DataSource).target
- the actual target resource that should be used for invoking
the operation on should no transaction be active.method
- name of the method to be invoked.args
- arguments with which the operation is invoked.
java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |