01: /*
02: * $Id: TerminateImpl.java,v 1.10 2004/12/09 12:34:21 kowap Exp $
03: *
04: * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
05: * Berne University of Applied Sciences
06: * School of Engineering and Information Technology
07: * All rights reserved.
08: */
09: package bexee.model.activity.impl;
10:
11: import bexee.core.ProcessController;
12: import bexee.core.ProcessInstance;
13: import bexee.model.BPELElementVisitor;
14: import bexee.model.StandardAttributes;
15: import bexee.model.activity.Terminate;
16:
17: /**
18: * Default implementation of the <code>Terminate</code> activity.
19: *
20: * @version $Revision: 1.10 $, $Date: 2004/12/09 12:34:21 $
21: * @author Patric Fornasier
22: * @author Pawel Kowalski
23: */
24: public class TerminateImpl extends AbstractActivity implements
25: Terminate {
26:
27: //**************************************************/
28: // c'tors
29: //**************************************************/
30:
31: public TerminateImpl() {
32: this (null);
33: }
34:
35: public TerminateImpl(StandardAttributes standardAttributes) {
36: super (standardAttributes);
37: }
38:
39: //**************************************************/
40: // bexee.core.BPELElement
41: //**************************************************/
42:
43: public void accept(ProcessController controller,
44: ProcessInstance instance) throws Exception {
45: controller.process(this , instance);
46: }
47:
48: public void accept(BPELElementVisitor elementVisitor) {
49: elementVisitor.visit(this);
50: }
51:
52: }
|