01: /*
02: * $Id: EmptyImpl.java,v 1.10 2004/12/09 12:34:25 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.Empty;
16:
17: /**
18: * Default implementation of the <code>Empty</code> activity.
19: *
20: * @version $Revision: 1.10 $, $Date: 2004/12/09 12:34:25 $
21: * @author Patric Fornasier
22: * @author Pawel Kowalski
23: */
24: public class EmptyImpl extends AbstractActivity implements Empty {
25:
26: //**************************************************/
27: // c'tors
28: //**************************************************/
29:
30: public EmptyImpl() {
31: this (null);
32: }
33:
34: public EmptyImpl(StandardAttributes standardAttributes) {
35: super (standardAttributes);
36: }
37:
38: //**************************************************/
39: // bexee.core.BPELElement
40: //**************************************************/
41:
42: /*
43: * (non-Javadoc)
44: *
45: * @see bexee.core.BPELElement#accept(bexee.core.ProcessControllerImpl,
46: * bexee.core.ProcessInstance)
47: */
48: public void accept(ProcessController controller,
49: ProcessInstance instance) throws Exception {
50: controller.process(this , instance);
51: }
52:
53: /*
54: * (non-Javadoc)
55: *
56: * @see bexee.model.BPELElement#accept(bexee.model.BPELElementVisitor)
57: */
58: public void accept(BPELElementVisitor elementVisitor) {
59: elementVisitor.visit(this);
60: }
61: }
|