|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcreamtec.webcream.core.WebCreamPropertiesManager
public class WebCreamPropertiesManager
Loads and manages the configuration properties for all applications configured in WebCream/conf directory.
| Method Summary | |
|---|---|
WebCreamProperties |
getAppProperties(java.lang.String appName)
Returns the properties for the given application name. |
static WebCreamPropertiesManager |
getInstance()
Returns the singlton instance of the property manager |
java.util.HashMap |
getPropertiesMap()
Returns a map of all loaded application configurations |
static void |
init(java.lang.String configDirectoryFileName)
Factory method used to create and initialize the property manager |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static WebCreamPropertiesManager getInstance()
throws java.lang.Exception
java.lang.Exception
public static void init(java.lang.String configDirectoryFileName)
throws java.lang.Exception
configDirectoryFileName - configuration directory file name, from which
to read all property files
java.lang.Exception
public WebCreamProperties getAppProperties(java.lang.String appName)
throws java.lang.Exception
appName - application name, for example "SwingSet"
java.lang.Exceptionpublic java.util.HashMap getPropertiesMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||