Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.groovy.grails.commons
Class ConfigurationHolder

    java.lang.Object
      org.codehaus.groovy.grails.commons.ConfigurationHolder

    public class ConfigurationHolder

extends Object

A class that holds a reference to the grails.config.ConfigObject instance

Since:
  0.6

  Created: Jun 21, 2007 Time: 3:52:04 PM
Author:
  Graeme Rocher

Constructor Summary
`ConfigurationHolder()`

Method Summary
`static groovy.util.ConfigObject` | `getConfig()`
`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)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ConfigurationHolder

    public ConfigurationHolder()

Method Detail

### getConfig

    public static groovy.util.ConfigObject getConfig()

### setConfig

    public static void setConfig(groovy.util.ConfigObject newConfig)

### getFlatConfig

    public static Map getFlatConfig()

  Returns the ConfigObject has a flattened map for easy access from Java in a properties file like way

  Returns:
    The flattened ConfigObject

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2005-2006 The Grails project