KickJava   Java API By Example, From Geeks To Geeks.

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


1 package de.webman.util.scheduler;
2
3
4 /**
5  * classes implementing this protocol are the factory classes for
6  * implementations of the {@link de.webman.util.scheduler.SchedulerService}
7  * classes.<p>
8  *
9  * @author <a HREF="mailto:gregor@webman.de">Gregor Klinke</a>
10  * @version $Revision: 1.2 $
11  **/

12 public interface SchedulerServiceFactory
13 {
14     /* $Id: SchedulerServiceFactory.java,v 1.2 2002/04/12 12:45:53 gregor Exp $ */
15
16     /**
17      * sets a property for this scheduler factory. the possibly properties
18      * are implementation dependend
19      * @param key the property's name
20      * @param val the property's value
21      *
22      * @throws SchedulerException if anything failed during property
23      * setting
24      **/

25     void setProperty(String JavaDoc key, Object JavaDoc val) throws SchedulerException;
26
27     /**
28      * creates a new service instance, using the passed configuration
29      * @return the new service
30      * @throws SchedulerException if anything failed during creation
31      **/

32     SchedulerService newService()
33         throws SchedulerException;
34 }
35
Popular Tags