Helper methods for initialising config object.
Modifiers | Name | Description |
---|---|---|
static int |
DEV_CACHE_KEY |
Type | Name and description |
---|---|
static java.util.List |
DEFAULT_RESOURCES_PLUGIN_EXCLUDES |
Type Params | Return Type | Name and description |
---|---|---|
|
static void |
clearCachedConfig(GrailsApplication application) |
|
static void |
clearCachedConfigs() |
|
static groovy.util.ConfigSlurper |
getConfigSlurper(java.lang.String environment, GrailsApplication application) |
|
static void |
initConfig(groovy.util.ConfigObject config, org.springframework.core.io.ResourceLoader resourceLoader = null, java.lang.ClassLoader classLoader = null) Loads external configuration and merges with ConfigObject |
|
static void |
initDefaultConfiguration(groovy.util.ConfigObject config) |
|
static groovy.util.ConfigObject |
loadConfigFromClasspath(java.lang.String environment) ', '* |
|
static groovy.util.ConfigObject |
loadConfigFromClasspath(GrailsApplication application = null, java.lang.String environment = Environment.current.name) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Loads external configuration and merges with ConfigObject
', '*