com.adobe.idp.dsc.transaction
Class TransactionCallbackWithoutResult
java.lang.Object
com.adobe.idp.dsc.transaction.TransactionCallbackWithoutResult
- All Implemented Interfaces:
- TransactionCallback
public abstract class TransactionCallbackWithoutResult
extends java.lang.Object
implements TransactionCallback
Helper class for TransactionCallback implementation. It
allows for implementing #doInTransaction() without returning a result.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionCallbackWithoutResult
public TransactionCallbackWithoutResult()
doInTransaction
public final java.lang.Object doInTransaction(TransactionContext aTxCtx)
throws com.adobe.idp.dsc.DSCException
- This is called by
TransactionTemplate.execute()
within a transactional context. It returns null.
It does not require information about the transactions themselves, although it can retrieve
and influence the status of the current transaction through the given status object, by
setting rollback-only.
- Specified by:
doInTransaction in interface TransactionCallback
- Parameters:
aTxCtx - The associated transaction context.
- Returns:
null.
- Throws:
com.adobe.idp.dsc.DSCException- See Also:
TransactionTemplate.execute()