01: package org.obe.spi;
02:
03: import org.obe.spi.event.ApplicationEvent;
04: import org.obe.spi.model.ActivityInstance;
05: import org.obe.spi.model.ProcessInstance;
06: import org.obe.spi.service.ServiceManager;
07: import org.obe.xpdl.model.activity.Activity;
08: import org.obe.xpdl.model.activity.Tool;
09: import org.obe.xpdl.model.workflow.WorkflowProcess;
10:
11: /**
12: * Exposes the runtime execution context
13: *
14: * @author Adrian Price
15: */
16: public interface WorkflowContext {
17: Activity getActivity();
18:
19: Tool getTool();
20:
21: ActivityInstance getActivityInstance();
22:
23: ApplicationEvent getEvent();
24:
25: ProcessInstance getProcessInstance();
26:
27: WorkflowProcess getWorkflow();
28:
29: ServiceManager getServiceManager();
30: }
|