public class HelpScopeTrans extends Object
| Constructor and Description |
|---|
HelpScopeTrans() |
| Modifier and Type | Method and Description |
|---|---|
static ScopeTrans |
createScopeTrans(TxScope txScope)
Create a ScopeTrans for a given methods TxScope.
|
static void |
onExitScopeTrans(Object returnOrThrowable,
int opCode,
ScopeTrans scopeTrans)
Exiting the method in an expected fashion.
|
public static ScopeTrans createScopeTrans(TxScope txScope)
public static void onExitScopeTrans(Object returnOrThrowable, int opCode, ScopeTrans scopeTrans)
That is returning successfully or via a caught exception. Unexpected exceptions are caught via the Thread uncaughtExceptionHandler.
returnOrThrowable - the return or throwable objectopCode - the opcode for ATHROW or ARETURN etcscopeTrans - the scoped transaction the method was run with.Copyright © 2014. All Rights Reserved.