01: /*
02: * Copyright (c) 2002-2003 by OpenSymphony
03: * All rights reserved.
04: */
05: /*
06: * Created by IntelliJ IDEA.
07: * User: plightbo
08: * Date: Apr 29, 2002
09: * Time: 11:12:41 PM
10: */
11: package com.opensymphony.workflow.basic;
12:
13: import com.opensymphony.workflow.WorkflowContext;
14:
15: /**
16: * DOCUMENT ME!
17: *
18: * @author $author$
19: * @version $Revision: 1.2 $
20: */
21: public class BasicWorkflowContext implements WorkflowContext {
22: //~ Instance fields ////////////////////////////////////////////////////////
23:
24: private String caller;
25:
26: //~ Constructors ///////////////////////////////////////////////////////////
27:
28: public BasicWorkflowContext(String caller) {
29: this .caller = caller;
30: }
31:
32: //~ Methods ////////////////////////////////////////////////////////////////
33:
34: public String getCaller() {
35: return caller;
36: }
37:
38: public void setRollbackOnly() {
39: // does nothing, this is basic, remember!
40: }
41: }
|