KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > opensymphony > workflow > WorkflowContext


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

5 package com.opensymphony.workflow;
6
7
8 /**
9  * Interface to be implemented if a new OSWorkflow interaction is to be created (SOAP, EJB, Ofbiz, etc).
10  *
11  * @author <a HREF="mailto:plightbo@hotmail.com">Pat Lightbody</a>
12  */

13 public interface WorkflowContext extends java.io.Serializable JavaDoc {
14     //~ Methods ////////////////////////////////////////////////////////////////
15

16     /**
17      * @return the workflow caller.
18      */

19     public String JavaDoc getCaller();
20
21     /**
22      * Sets the current transaction to be rolled back.
23      */

24     public void setRollbackOnly();
25 }
26
Popular Tags