|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CompensatingTransactionOperationManager
A CompensatingTransactionOperationManager implementation records and performs operations that are to be performed within a compensating transaction. It keeps track of compensating actions necessary for rolling back each individual operation.
Method Summary | |
---|---|
void |
commit()
Commit all recorded operations. |
void |
performOperation(Object resource,
String operation,
Object[] args)
Indicates that the supplied operation (method name) is to be performed. |
void |
rollback()
Rollback all recorded operations by performing each of the recorded rollback operations. |
Method Detail |
---|
void performOperation(Object resource, String operation, Object[] args)
resource
- the target resource to perform the operation on.operation
- The method to be invoked.args
- Arguments supplied to the method.void rollback()
void commit()
|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |