KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > roller > model > ConfigManager


1 /*
2  * Created on Feb 4, 2004
3  */

4 package org.roller.model;
5
6 import org.roller.RollerException;
7 import org.roller.pojos.RollerConfigData;
8 import java.io.Serializable JavaDoc;
9
10 /**
11  * Manages Roller configuration
12  * @deprecated Replaced by {@link RollerProperties}.
13  */

14 public interface ConfigManager extends Serializable JavaDoc
15 {
16     /**
17      * Release all resources associated with Roller session.
18      */

19     public void release(); /**
20      * Store
21      */

22
23
24     public void storeRollerConfig( RollerConfigData data ) throws RollerException;
25         /**
26      * Get single RollerConfig object in system.
27      * @deprecated
28      */

29
30     public RollerConfigData getRollerConfig() throws RollerException;
31         /**
32      * Read RollerConfig from XML file.
33      */

34
35     public RollerConfigData readFromFile(String JavaDoc filePath) throws RollerException;
36 }
37
Popular Tags