public class CompensationBehavior extends Object
Constructor and Description |
---|
CompensationBehavior() |
Modifier and Type | Method and Description |
---|---|
static boolean |
executesDefaultCompensationHandler(PvmExecutionImpl scopeExecution)
Determines whether an execution is responsible for default compensation handling.
|
static boolean |
executesNonScopeCompensationHandler(PvmExecutionImpl execution)
With compensation, we have a dedicated scope execution for every handler, even if the handler is not
a scope activity; this must be respected when invoking end listeners, etc.
|
static String |
getParentActivityInstanceId(PvmExecutionImpl execution) |
static boolean |
isCompensationThrowing(PvmExecutionImpl execution) |
public static boolean executesNonScopeCompensationHandler(PvmExecutionImpl execution)
public static boolean isCompensationThrowing(PvmExecutionImpl execution)
public static boolean executesDefaultCompensationHandler(PvmExecutionImpl scopeExecution)
public static String getParentActivityInstanceId(PvmExecutionImpl execution)
Copyright © 2019. All rights reserved.