org.camunda.bpm.engine.impl.bpmn.helper
Class CompensationUtil
java.lang.Object
org.camunda.bpm.engine.impl.bpmn.helper.CompensationUtil
public class CompensationUtil
- extends Object
- Author:
- Daniel Meyer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompensationUtil
public CompensationUtil()
throwCompensationEvent
public static void throwCompensationEvent(List<CompensateEventSubscriptionEntity> eventSubscriptions,
ActivityExecution execution,
boolean async)
- we create a separate execution for each compensation handler invocation.
createEventScopeExecution
public static void createEventScopeExecution(ExecutionEntity execution)
- creates an event scope for the given execution:
create a new event scope execution under the parent of the given
execution and move all event subscriptions to that execution.
this allows us to "remember" the event subscriptions after finishing a
scope
Copyright © 2015 camunda services GmbH. All rights reserved.