KickJava   Java API By Example, From Geeks To Geeks.

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


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:05 PM
10  */

11 package com.opensymphony.workflow.basic;
12
13 import com.opensymphony.workflow.AbstractWorkflow;
14
15
16 /**
17  * A basic workflow implementation which does not read in
18  * the current user from any context, but allows one to be
19  * specified via the constructor. Also does not support rollbacks.
20  */

21 public class BasicWorkflow extends AbstractWorkflow {
22     //~ Constructors ///////////////////////////////////////////////////////////
23

24     public BasicWorkflow(String JavaDoc caller) {
25         super.context = new BasicWorkflowContext(caller);
26     }
27 }
28
Popular Tags