01: package de.webman.util.registry;
02:
03: /**
04: * Classes implementing this type could act as ManagerFactories. Each
05: * Manager is accompinied by a ManagerFactory class. See {@link
06: * de.webman.util.Registry} for using Managers.
07: *
08: * @author <a href="mailto:gregor@webman.de">Gregor Klinke</a>
09: * @version $Revision: 1.2 $
10: **/
11: public interface ManagerFactory {
12: /* $Id: ManagerFactory.java,v 1.2 2002/04/12 12:30:24 gregor Exp $ */
13:
14: /**
15: * returns the ID of this registry
16: * @return the id
17: **/
18: String getID();
19:
20: /**
21: * creates a new manager object
22: * @param basedir the base directory to use for configuration purposes
23: * @return the new manager
24: **/
25: Manager newManager(String basedir) throws RegistryException;
26: }
|