1 package de.webman.sync;2 3 import de.webman.util.scheduler.SchedulerServiceFactory;4 import de.webman.util.scheduler.SchedulerException;5 import de.webman.util.scheduler.SchedulerService;6 7 /**8 * Factory implementation for the {@link de.webman.sync.SyncScheduler}9 * service.<p>10 *11 * @author <a HREF="mailto:gregor@webman.de">Gregor Klinke</a>12 * @version $Revision: 1.2 $13 **/14 public class SyncSchedulerFactory15 implements SchedulerServiceFactory16 {17 /* $Id: SyncSchedulerFactory.java,v 1.2 2002/04/12 14:56:01 gregor Exp $ */18 19 /**20 * sets a property for this scheduler factory. the possibly properties21 * are implementation dependend22 * @param key the property's name23 * @param val the property's value24 *25 * @throws SchedulerException if anything failed during property26 * setting27 **/28 public void setProperty(String key, Object val) 29 throws SchedulerException30 {31 }32 33 /**34 * creates a new service instance, using the passed configuration35 *36 * @return the new scheduler scheduler37 * @throws SchedulerException if anything failed during creation38 **/39 public SchedulerService newService()40 throws SchedulerException41 {42 return new SyncScheduler();43 }44 }45