KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > verge > config > VergeBaseConfigFactory


1 /*
2  * Copyright (c) 2003, Inversoft
3  *
4  * This software is distribuable under the GNU Lesser General Public License.
5  * For more information visit gnu.org.
6  */

7 package com.inversoft.verge.config;
8
9
10 import com.inversoft.config.ConfigBuilder;
11 import com.inversoft.config.ConfigFactory;
12 import com.inversoft.config.ConfigRegistry;
13
14
15 /**
16  * <p>
17  * This class is the ConfigFactory for the Form based MVC
18  * component of the Inversoft Verge framework.
19  * </p>
20  *
21  * @author Brian Pontarelli
22  * @since 2.0
23  * @version 2.0
24  */

25 public class VergeBaseConfigFactory implements ConfigFactory {
26
27     private VergeBaseConfigBuilder builder;
28
29
30     /**
31      * Constructs a new <code>FormConfigFactory</code>.
32      */

33     public VergeBaseConfigFactory() {
34         builder = new VergeBaseConfigBuilder();
35     }
36
37
38     /**
39      * <p>
40      * Returns the {@link VergeBaseConfigBuilder}instance that is stored as a
41      * member of this class. This instance is returns for multiple calls to this
42      * method.
43      * </p>
44      *
45      * @return The single VergeBaseConfigBuilder instance and never null
46      */

47     public ConfigBuilder createBuilder() {
48         return builder;
49     }
50
51     /**
52      * <p>
53      * Currently returns null, but may return a registry instance in the future
54      * </p>
55      *
56      * @return null
57      */

58     public ConfigRegistry createRegistry() {
59         return null;
60     }
61 }
Popular Tags