01: package de.webman.util.scheduler;
02:
03: /**
04: * classes implementing this protocol can be registered as services to the
05: * Scheduler system in webman.<p>
06: *
07: * @author <a href="mailto:gregor@webman.de">Gregor Klinke</a>
08: * @version $Revision: 1.2 $
09: **/
10: public interface SchedulerService {
11: /* $Id: SchedulerService.java,v 1.2 2002/04/12 12:45:53 gregor Exp $ */
12:
13: /**
14: * starts a new process cycle. The process is run in a thread on its
15: * one, so that access to class wide data has to be synchronized and
16: * locked properly.
17: *
18: * @throws SchedulerException may be thrown by the implementation if
19: * anything failed during service execution
20: **/
21: void execute() throws SchedulerException;
22: }
|