KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > opensymphony > workflow > basic > BasicWorkflowContext


1 /*
2  * Copyright (c) 2002-2003 by OpenSymphony
3  * All rights reserved.
4  */

5 /*
6  * Created by IntelliJ IDEA.
7  * User: plightbo
8  * Date: Apr 29, 2002
9  * Time: 11:12:41 PM
10  */

11 package com.opensymphony.workflow.basic;
12
13 import com.opensymphony.workflow.WorkflowContext;
14
15
16 /**
17  * DOCUMENT ME!
18  *
19  * @author $author$
20  * @version $Revision: 1.2 $
21  */

22 public class BasicWorkflowContext implements WorkflowContext {
23     //~ Instance fields ////////////////////////////////////////////////////////
24

25     private String JavaDoc caller;
26
27     //~ Constructors ///////////////////////////////////////////////////////////
28

29     public BasicWorkflowContext(String JavaDoc caller) {
30         this.caller = caller;
31     }
32
33     //~ Methods ////////////////////////////////////////////////////////////////
34

35     public String JavaDoc getCaller() {
36         return caller;
37     }
38
39     public void setRollbackOnly() {
40         // does nothing, this is basic, remember!
41
}
42 }
43
Popular Tags