public abstract class AtomicOperationCreateConcurrentExecution extends Object implements AtomicOperation
Base atomic operation used for implementing atomic operations which create a new concurrent execution for executing an activity. This atomic operation makes sure the execution is created under the correct parent.
ACTIVITY_END, ACTIVITY_EXECUTE, ACTIVITY_START, ACTIVITY_START_CANCEL_SCOPE, ACTIVITY_START_CONCURRENT, DELETE_CASCADE, DELETE_CASCADE_FIRE_ACTIVITY_END, FIRE_ACTIVITY_END, PROCESS_END, PROCESS_START, PROCESS_START_INITIAL, TRANSITION_CANCEL_SCOPE, TRANSITION_CREATE_SCOPE, TRANSITION_DESTROY_SCOPE, TRANSITION_NOTIFY_LISTENER_END, TRANSITION_NOTIFY_LISTENER_START, TRANSITION_NOTIFY_LISTENER_TAKE
Constructor and Description |
---|
AtomicOperationCreateConcurrentExecution() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
concurrentExecutionCreated(InterpretableExecution propagatingExecution) |
protected InterpretableExecution |
createConcurrentExecution(InterpretableExecution execution,
PvmActivity concurrentActivity) |
void |
execute(InterpretableExecution execution) |
protected PvmScope |
getCurrentScope(InterpretableExecution execution) |
boolean |
isAsync(InterpretableExecution execution) |
protected boolean |
isConcurrentRoot(InterpretableExecution execution) |
protected boolean |
isLeaf(InterpretableExecution execution) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCanonicalName
public AtomicOperationCreateConcurrentExecution()
public void execute(InterpretableExecution execution)
execute
in interface AtomicOperation
protected abstract void concurrentExecutionCreated(InterpretableExecution propagatingExecution)
protected InterpretableExecution createConcurrentExecution(InterpretableExecution execution, PvmActivity concurrentActivity)
protected boolean isConcurrentRoot(InterpretableExecution execution)
protected boolean isLeaf(InterpretableExecution execution)
protected PvmScope getCurrentScope(InterpretableExecution execution)
public boolean isAsync(InterpretableExecution execution)
isAsync
in interface AtomicOperation
Copyright © 2015. All rights reserved.