01: /*
02: * Copyright (c) 2002-2003 by OpenSymphony
03: * All rights reserved.
04: */
05: package com.opensymphony.workflow.util;
06:
07: import com.opensymphony.workflow.WorkflowException;
08: import com.opensymphony.workflow.spi.WorkflowEntry;
09:
10: import java.rmi.Remote;
11: import java.rmi.RemoteException;
12:
13: /**
14: * Listener interface to be implemented by remote session beans that wish to be
15: * notified of changes in the workflow.
16: * @author Hani Suleiman
17: * Date: Apr 6, 2002
18: * Time: 11:48:14 PM
19: */
20: public interface WorkflowListener extends Remote {
21: //~ Methods ////////////////////////////////////////////////////////////////
22:
23: public void stateChanged(WorkflowEntry entry)
24: throws RemoteException, WorkflowException;
25: }
|