01: package org.jbpm.instantiation;
02:
03: import org.jbpm.context.exe.ContextInstance;
04: import org.jbpm.graph.def.Action;
05: import org.jbpm.graph.exe.ExecutionContext;
06: import org.jbpm.graph.exe.Token;
07: import org.jbpm.taskmgmt.def.AssignmentHandler;
08: import org.jbpm.taskmgmt.def.TaskControllerHandler;
09: import org.jbpm.taskmgmt.exe.Assignable;
10: import org.jbpm.taskmgmt.exe.TaskInstance;
11:
12: public interface UserCodeInterceptor {
13:
14: void executeAction(Action action, ExecutionContext executionContext)
15: throws Exception;
16:
17: void executeAssignment(AssignmentHandler assignmentHandler,
18: Assignable assignable, ExecutionContext executionContext)
19: throws Exception;
20:
21: void executeTaskControllerInitialization(
22: TaskControllerHandler taskControllerHandler,
23: TaskInstance taskInstance, ContextInstance contextInstance,
24: Token token);
25:
26: void executeTaskControllerSubmission(
27: TaskControllerHandler taskControllerHandler,
28: TaskInstance taskInstance, ContextInstance contextInstance,
29: Token token);
30:
31: }
|