public class CachingGrailsConventionGroovyPageLocator extends GrailsConventionGroovyPageLocator
DefaultGroovyPageLocator.PluginViewPathInfopluginManager, reloadEnabled, resourceLoaders, warDeployed| Constructor and Description |
|---|
CachingGrailsConventionGroovyPageLocator() |
| Modifier and Type | Method and Description |
|---|---|
GroovyPageScriptSource |
findPage(java.lang.String uri)
Finds a page for the given URI
|
GroovyPageScriptSource |
findPageInBinding(java.lang.String uri,
GroovyPageBinding binding)
Finds a page for the URI and binding
|
GroovyPageScriptSource |
findPageInBinding(java.lang.String pluginName,
java.lang.String uri,
GroovyPageBinding binding)
Finds a page for the given URI
|
long |
getCacheTimeout() |
protected GroovyPageScriptSource |
lookupCache(org.codehaus.groovy.grails.web.pages.discovery.CachingGrailsConventionGroovyPageLocator.GroovyPageLocatorCacheKey cacheKey,
java.util.concurrent.Callable<GroovyPageScriptSource> updater) |
void |
removePrecompiledPage(GroovyPageCompiledScriptSource scriptSource)
Removes any precompiled pages for the given URI so that they can be replaced by dynamic pages
|
void |
setCacheTimeout(long cacheTimeout) |
findTemplate, findTemplate, findTemplate, findTemplateByPath, findTemplateInBinding, findTemplateInBinding, findView, findView, findView, findView, findViewByPath, findViewForFormat, getNameForController, lookupRequestFormat, resolveViewFormat, setGrailsApplication, setMimeTypeResolveraddResourceLoader, createGroovyPageCompiledScriptSource, findBinaryScriptSource, findReloadablePage, findResource, findResource, findResourceInPlugins, findResourceScriptPathForSearchPaths, findResourceScriptSource, findResourceScriptSourceInPlugins, getPluginViewPathInfo, isReloadEnabled, removePrefix, removeViewLocationPrefixes, resolveContextPath, resolvePluginViewPath, resolveSearchPaths, resolveViewInBinaryPlugin, setApplicationContext, setPluginManager, setPrecompiledGspMap, setReloadEnabled, setResourceLoader, setServletContextpublic CachingGrailsConventionGroovyPageLocator()
public GroovyPageScriptSource findPageInBinding(java.lang.String uri, GroovyPageBinding binding)
GroovyPageLocatorfindPageInBinding in interface GroovyPageLocatorfindPageInBinding in class DefaultGroovyPageLocatoruri - The URIbinding - The bindingpublic GroovyPageScriptSource findPageInBinding(java.lang.String pluginName, java.lang.String uri, GroovyPageBinding binding)
GroovyPageLocatorfindPageInBinding in interface GroovyPageLocatorfindPageInBinding in class DefaultGroovyPageLocatoruri - The URIpublic GroovyPageScriptSource findPage(java.lang.String uri)
GroovyPageLocatorfindPage in interface GroovyPageLocatorfindPage in class DefaultGroovyPageLocatoruri - The URIprotected GroovyPageScriptSource lookupCache(org.codehaus.groovy.grails.web.pages.discovery.CachingGrailsConventionGroovyPageLocator.GroovyPageLocatorCacheKey cacheKey, java.util.concurrent.Callable<GroovyPageScriptSource> updater)
public long getCacheTimeout()
public void setCacheTimeout(long cacheTimeout)
public void removePrecompiledPage(GroovyPageCompiledScriptSource scriptSource)
GroovyPageLocatorremovePrecompiledPage in interface GroovyPageLocatorremovePrecompiledPage in class DefaultGroovyPageLocatorscriptSource - The compiled script source