01: /*
02: * Copyright (c) 2002-2003 by OpenSymphony
03: * All rights reserved.
04: */
05: package com.opensymphony.workflow;
06:
07: /**
08: * Interface to be implemented if a new OSWorkflow interaction is to be created (SOAP, EJB, Ofbiz, etc).
09: *
10: * @author <a href="mailto:plightbo@hotmail.com">Pat Lightbody</a>
11: */
12: public interface WorkflowContext extends java.io.Serializable {
13: //~ Methods ////////////////////////////////////////////////////////////////
14:
15: /**
16: * @return the workflow caller.
17: */
18: public String getCaller();
19:
20: /**
21: * Sets the current transaction to be rolled back.
22: */
23: public void setRollbackOnly();
24: }
|