| Modifier and Type | Method and Description | 
|---|---|
protected List<CompensateEventSubscriptionEntity> | 
CompensationEventActivityBehavior.collectEventSubscriptions(ActivityExecution execution)  | 
| Modifier and Type | Method and Description | 
|---|---|
static List<CompensateEventSubscriptionEntity> | 
CompensationUtil.collectCompensateEventSubscriptionsForActivity(ActivityExecution execution,
                                              String activityRef)
Collect all compensate event subscriptions for activity on the scope of
 given execution. 
 | 
static List<CompensateEventSubscriptionEntity> | 
CompensationUtil.collectCompensateEventSubscriptionsForScope(ActivityExecution execution)
Collect all compensate event subscriptions for scope of given execution. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
CompensationUtil.throwCompensationEvent(List<CompensateEventSubscriptionEntity> eventSubscriptions,
                      ActivityExecution execution,
                      boolean async)
we create a separate execution for each compensation handler invocation. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected CompensateEventSubscriptionEntity | 
MigratingCompensationEventSubscriptionInstance.eventSubscription  | 
| Modifier and Type | Method and Description | 
|---|---|
MigratingCompensationEventSubscriptionInstance | 
MigratingProcessInstance.addCompensationSubscriptionInstance(MigrationInstruction eventSubscriptionInstruction,
                                   CompensateEventSubscriptionEntity eventSubscription,
                                   ScopeImpl sourceScope,
                                   ScopeImpl targetScope)  | 
MigratingEventScopeInstance | 
MigratingProcessInstance.addEventScopeInstance(MigrationInstruction migrationInstruction,
                     ExecutionEntity eventScopeExecution,
                     ScopeImpl sourceScope,
                     ScopeImpl targetScope,
                     MigrationInstruction eventSubscriptionInstruction,
                     CompensateEventSubscriptionEntity eventSubscription,
                     ScopeImpl eventSubscriptionSourceScope,
                     ScopeImpl eventSubscriptionTargetScope)  | 
| Constructor and Description | 
|---|
MigratingCompensationEventSubscriptionInstance(MigrationInstruction migrationInstruction,
                                              ScopeImpl sourceScope,
                                              ScopeImpl targetScope,
                                              CompensateEventSubscriptionEntity eventSubscription)  | 
MigratingEventScopeInstance(CompensateEventSubscriptionEntity eventSubscription,
                           ExecutionEntity eventScopeExecution,
                           ScopeImpl targetScope)
Creates an emerged scope 
 | 
MigratingEventScopeInstance(MigrationInstruction migrationInstruction,
                           ExecutionEntity eventScopeExecution,
                           ScopeImpl sourceScope,
                           ScopeImpl targetScope,
                           MigrationInstruction eventSubscriptionInstruction,
                           CompensateEventSubscriptionEntity eventSubscription,
                           ScopeImpl eventSubscriptionSourceScope,
                           ScopeImpl eventSubscriptionTargetScope)  | 
| Modifier and Type | Field and Description | 
|---|---|
protected MigratingInstanceParseHandler<CompensateEventSubscriptionEntity> | 
MigratingInstanceParser.compensationInstanceHandler  | 
| Modifier and Type | Method and Description | 
|---|---|
protected static List<CompensateEventSubscriptionEntity> | 
CompensationEventSubscriptionWalker.collectCompensationEventSubscriptions(Collection<MigratingActivityInstance> activityInstances)  | 
protected Collection<CompensateEventSubscriptionEntity> | 
CompensationEventSubscriptionWalker.nextElements()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected MigratingProcessElementInstance | 
CompensationInstanceHandler.createMigratingEventScopeInstance(MigratingInstanceParseContext parseContext,
                                 CompensateEventSubscriptionEntity element)  | 
protected MigratingProcessElementInstance | 
CompensationInstanceHandler.createMigratingEventSubscriptionInstance(MigratingInstanceParseContext parseContext,
                                        CompensateEventSubscriptionEntity element)  | 
void | 
CompensationInstanceHandler.handle(MigratingInstanceParseContext parseContext,
      CompensateEventSubscriptionEntity element)  | 
| Modifier and Type | Method and Description | 
|---|---|
static CompensateEventSubscriptionEntity | 
CompensateEventSubscriptionEntity.createAndInsert(ExecutionEntity executionEntity,
               ActivityImpl activity)  | 
CompensateEventSubscriptionEntity | 
CompensateEventSubscriptionEntity.moveUnder(ExecutionEntity newExecution)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<CompensateEventSubscriptionEntity> | 
ExecutionEntity.getCompensateEventSubscriptions()  | 
List<CompensateEventSubscriptionEntity> | 
ExecutionEntity.getCompensateEventSubscriptions(String activityId)  | 
Copyright © 2017. All rights reserved.