1
2
3
4
5
6
7
8
9 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.1 $, $Date: 2004/12/15 14:18:13 $
21 * @author Patric Fornasier
22 * @author Pawel Kowalski
23 */
24 public class TerminateImpl extends AbstractActivity implements Terminate {
25
26 //***************************************************/
27
28 //***************************************************/
29
30 public TerminateImpl() {
31 this(null);
32 }
33
34 public TerminateImpl(StandardAttributes standardAttributes) {
35 super(standardAttributes);
36 }
37
38 //***************************************************/
39
40 //***************************************************/
41
42 public void accept(ProcessController controller, ProcessInstance instance)
43 throws Exception {
44 controller.process(this, instance);
45 }
46
47 public void accept(BPELElementVisitor elementVisitor) {
48 elementVisitor.visit(this);
49 }
50
51 }