|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectgrails.plugin.cache.ConfigLoader
class ConfigLoader
| Field Summary | |
|---|---|
protected org.slf4j.Logger |
log
|
| Property Summary | |
|---|---|
static int |
DEFAULT_ORDER
|
| Constructor Summary | |
ConfigLoader()
|
|
| Method Summary | |
|---|---|
java.util.List
|
loadOrderedConfigs(org.codehaus.groovy.grails.commons.GrailsApplication application)
Retrieve ConfigObject instances from Config.groovy and *CacheConfig.groovy files. |
protected boolean
|
processConfig(groovy.util.ConfigObject config, CacheConfigGrailsClass configClass)
|
void
|
reload(org.springframework.context.ApplicationContext ctx)
Reload the cache configuration from Config.groovy and *CacheConfig.groovy files. |
void
|
reload(java.util.List configs, org.springframework.context.ApplicationContext ctx)
Reload the cache configuration from the specified config objects. |
protected void
|
sortConfigs(java.util.List configs)
|
| Methods inherited from 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() |
| Field Detail |
|---|
protected org.slf4j.Logger log
| Property Detail |
|---|
static final int DEFAULT_ORDER
| Constructor Detail |
|---|
ConfigLoader()
| Method Detail |
|---|
java.util.List loadOrderedConfigs(org.codehaus.groovy.grails.commons.GrailsApplication application)
application - the application
protected boolean processConfig(groovy.util.ConfigObject config, CacheConfigGrailsClass configClass)
void reload(org.springframework.context.ApplicationContext ctx)
ctx - the application context
void reload(java.util.List configs, org.springframework.context.ApplicationContext ctx)
configs - ordered ConfigObjects, typically from loadOrderedConfigs(); must contain
a 'config' closure defining cache(s).ctx - the application context
protected void sortConfigs(java.util.List configs)
Groovy Documentation