private Node generateEmpty(final Scope scope, final Empty empty, final BPELProcess bpelprocess) throws CoreException { this.log.finest("start generate empty"); final Node emptyNode = scope.createNode(empty.getName(), new EmptyBehaviourImpl()); return emptyNode; }
@Override protected void executeOnInactive() throws CoreException { this.log.finest("start empty behaviour on node: " + this.node.getName()); this.state = State.ACTIVITY_STARTED; this.log.finest("execute empty behaviour on node: " + this.node.getName()); this.state = State.ACTIVITY_ENDED; notifyParentBehaviour(); }
private Node generateExtendedActivity(Scope scope, ExtendedActivity activity, BPELProcess bpelprocess) throws CoreException { Node node = null; if (activity != null) { node = activity.generate(scope); } else { // activity unrecognized but that can be ignored node = scope.createNode(null, new EmptyBehaviourImpl()); } return node; }