01: /*
02: * This file is part of the WfMOpen project.
03: * Copyright (C) 2001-2003 Danet GmbH (www.danet.de), GS-AN.
04: * All rights reserved.
05: *
06: * This program is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU General Public License as published by
08: * the Free Software Foundation; either version 2 of the License, or
09: * (at your option) any later version.
10: *
11: * This program is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: * GNU General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with this program; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19: *
20: * $Id: WfAuditHandler.java,v 1.2 2006/09/29 12:32:09 drmlipp Exp $
21: *
22: * $Log: WfAuditHandler.java,v $
23: * Revision 1.2 2006/09/29 12:32:09 drmlipp
24: * Consistently using WfMOpen as projct name now.
25: *
26: * Revision 1.1.1.1 2003/06/30 20:05:16 drmlipp
27: * Initial import
28: *
29: * Revision 1.9 2003/06/27 08:51:45 lipp
30: * Fixed copyright/license information.
31: *
32: * Revision 1.8 2003/04/26 16:11:14 lipp
33: * Moved some classes to reduce package dependencies.
34: *
35: * Revision 1.7 2002/11/26 11:23:29 lipp
36: * Modified RemoteException comment.
37: *
38: * Revision 1.6 2002/07/24 08:04:42 huaiyang
39: * doccheck.
40: *
41: * Revision 1.5 2001/12/13 20:58:14 lipp
42: * Comments improved.
43: *
44: * Revision 1.4 2001/08/24 12:58:30 lipp
45: * CR/NL fixes
46: *
47: * Revision 1.3 2001/08/10 08:44:42 montag
48: * another step closer to deployment
49: *
50: * Revision 1.2 2001/07/26 21:00:08 lipp
51: * Added Exceptions
52: *
53: * Revision 1.1 2001/07/06 08:51:48 lipp
54: * Moved from domain to omgcore
55: *
56: * Revision 1.1 2001/07/05 14:15:09 lipp
57: * Rather complete version.
58: *
59: */
60: package de.danet.an.workflow.omgcore;
61:
62: import java.util.EventListener;
63: import java.rmi.RemoteException;
64:
65: /**
66: * The listener interface for receiving an event from a process.
67: */
68: public interface WfAuditHandler extends EventListener {
69:
70: /**
71: * Called by the workflow engine if an event occurs.
72: *
73: * @param e the event.
74: * @throws InvalidPerformerException thrown by the derived
75: * {@link de.danet.an.workflow.omgcore.WfRequester
76: * <code>WfRequester</code>} if it receives an event from a
77: * process that is not among its performers.
78: * @throws RemoteException if a system-level error occurs.
79: */
80: public void receiveEvent(WfAuditEvent e)
81: throws InvalidPerformerException, RemoteException;
82: }
|