KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > webman > util > registry > ManagerFactory


1 package de.webman.util.registry;
2
3
4 /**
5  * Classes implementing this type could act as ManagerFactories. Each
6  * Manager is accompinied by a ManagerFactory class. See {@link
7  * de.webman.util.Registry} for using Managers.
8  *
9  * @author <a HREF="mailto:gregor@webman.de">Gregor Klinke</a>
10  * @version $Revision: 1.2 $
11  **/

12 public interface ManagerFactory
13 {
14     /* $Id: ManagerFactory.java,v 1.2 2002/04/12 12:30:24 gregor Exp $ */
15
16     /**
17      * returns the ID of this registry
18      * @return the id
19      **/

20     String JavaDoc getID();
21     
22     
23     /**
24      * creates a new manager object
25      * @param basedir the base directory to use for configuration purposes
26      * @return the new manager
27      **/

28     Manager newManager(String JavaDoc basedir) throws RegistryException;
29 }
30
Popular Tags