1 package de.webman.util.scheduler;2 3 import de.webman.util.registry.ManagerFactory;4 import de.webman.util.registry.Manager;5 import de.webman.util.registry.RegistryException;6 import de.webman.util.registry.RegistryConstants;7 8 /**9 * The factory class for {@link de.webman.util.scheduler.SchedulerMgr}10 *11 * @author <a HREF="mailto:gregor@webman.de">Gregor Klinke</a>12 * @version $Revision: 1.2 $13 **/14 public class SchedulerMgrFactory15 implements ManagerFactory16 {17 /* $Id: SchedulerMgrFactory.java,v 1.2 2002/04/12 12:45:53 gregor Exp $ */18 19 /**20 * returns the ID of this registry21 **/22 public String getID() {23 return RegistryConstants.SCHEDULER_MANAGER;24 }25 26 /**27 * creates a new registry object28 * @param basedir the base directory to use for configuration purposes29 * @return the new manager30 * @throws RegistryException if anything failed during creation31 **/32 public Manager newManager(String basedir) 33 throws RegistryException 34 {35 return new SchedulerMgr(basedir);36 }37 }38