|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.codehaus.groovy.grails.web.pages.discovery.DefaultGroovyPageLocator
org.codehaus.groovy.grails.web.pages.discovery.GrailsConventionGroovyPageLocator
org.codehaus.groovy.grails.web.pages.discovery.CachingGrailsConventionGroovyPageLocator
public class CachingGrailsConventionGroovyPageLocator extends GrailsConventionGroovyPageLocator
Extends GrailsConventionGroovyPageLocator adding caching of the located GrailsPageScriptSource.
| Field Summary |
|---|
| Fields inherited from class DefaultGroovyPageLocator | |
|---|---|
| pluginManager, reloadEnabled, resourceLoaders, warDeployed |
| Method Summary | |
|---|---|
GroovyPageScriptSource
|
findPage(java.lang.String uri)
|
GroovyPageScriptSource
|
findPageInBinding(java.lang.String uri, GroovyPageBinding binding)
|
GroovyPageScriptSource
|
findPageInBinding(java.lang.String pluginName, java.lang.String uri, GroovyPageBinding binding)
|
long
|
getCacheTimeout()
|
protected GroovyPageScriptSource
|
lookupCache(CachingGrailsConventionGroovyPageLocator.GroovyPageLocatorCacheKey cacheKey, java.security.PrivilegedAction updater)
|
void
|
removePrecompiledPage(GroovyPageCompiledScriptSource scriptSource)
|
void
|
setCacheTimeout(long cacheTimeout)
|
| Methods inherited from class java.lang.Object | |
|---|---|
| java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
| Method Detail |
|---|
@java.lang.Override public GroovyPageScriptSource findPage(java.lang.String uri)
@java.lang.Override public GroovyPageScriptSource findPageInBinding(java.lang.String uri, GroovyPageBinding binding)
@java.lang.Override public GroovyPageScriptSource findPageInBinding(java.lang.String pluginName, java.lang.String uri, GroovyPageBinding binding)
public long getCacheTimeout()
protected GroovyPageScriptSource lookupCache(CachingGrailsConventionGroovyPageLocator.GroovyPageLocatorCacheKey cacheKey, java.security.PrivilegedAction updater)
@java.lang.Override public void removePrecompiledPage(GroovyPageCompiledScriptSource scriptSource)
public void setCacheTimeout(long cacheTimeout)
Groovy Documentation