KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > webman > util > scheduler > SchedulerService


1 package de.webman.util.scheduler;
2
3
4
5 /**
6  * classes implementing this protocol can be registered as services to the
7  * Scheduler system in webman.<p>
8  *
9  * @author <a HREF="mailto:gregor@webman.de">Gregor Klinke</a>
10  * @version $Revision: 1.2 $
11  **/

12 public interface SchedulerService
13 {
14     /* $Id: SchedulerService.java,v 1.2 2002/04/12 12:45:53 gregor Exp $ */
15
16     /**
17      * starts a new process cycle. The process is run in a thread on its
18      * one, so that access to class wide data has to be synchronized and
19      * locked properly.
20      *
21      * @throws SchedulerException may be thrown by the implementation if
22      * anything failed during service execution
23      **/

24     void execute() throws SchedulerException;
25 }
26
Popular Tags