Groovy Documentation

org.codehaus.groovy.grails.web.pages.discovery
[Java] Class CachingGrailsConventionGroovyPageLocator

java.lang.Object
  org.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

Authors:
Graeme Rocher
Since:
2.0


Field Summary
 
Fields inherited from class DefaultGroovyPageLocator
pluginManager, resourceLoaders
 
Method Summary
GroovyPageScriptSource findLayout(java.lang.String layoutName)

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)

GroovyPageScriptSource findViewByPath(java.lang.String uri)

 
Methods inherited from class GrailsConventionGroovyPageLocator
findLayout, findLayout, findLayoutInBinaryPlugins, findTemplate, findTemplate, findTemplate, findTemplateByPath, findTemplateInBinding, findTemplateInBinding, findView, findView, findView, findViewByPath, getNameForController
 
Methods inherited from class DefaultGroovyPageLocator
addResourceLoader, findBinaryScriptSource, findPage, findPageInBinding, findPageInBinding, findResourceScriptPathForSearchPaths, findResourceScriptSource, findResourceScriptSourceInPlugins, getPluginViewPathInfo, removePrecompiledPage, setApplicationContext, setPluginManager, setPrecompiledGspMap, setResourceLoader, setServletContext
 
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

findLayout

@Override
public GroovyPageScriptSource findLayout(java.lang.String layoutName)


findPage

@Override
public GroovyPageScriptSource findPage(java.lang.String uri)


findPageInBinding

@Override
public GroovyPageScriptSource findPageInBinding(java.lang.String uri, GroovyPageBinding binding)


findPageInBinding

@Override
public GroovyPageScriptSource findPageInBinding(java.lang.String pluginName, java.lang.String uri, GroovyPageBinding binding)


findViewByPath

@Override
public GroovyPageScriptSource findViewByPath(java.lang.String uri)


 

Groovy Documentation