|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.groovy.grails.commons.ConfigurationHolder
public class ConfigurationHolder
A class that holds a reference to the grails.config.ConfigObject instance
| Constructor Summary | |
|---|---|
ConfigurationHolder()
|
|
| Method Summary | |
|---|---|
static groovy.util.ConfigObject |
getConfig()
Retrieve the ConfigObject. |
static Map |
getFlatConfig()
Returns the ConfigObject has a flattened map for easy access from Java in a properties file like way |
static void |
setConfig(groovy.util.ConfigObject newConfig)
Sets the ConfigObject. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationHolder()
| Method Detail |
|---|
public static void setConfig(groovy.util.ConfigObject newConfig)
newConfig - public static groovy.util.ConfigObject getConfig()
public static Map getFlatConfig()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||