public interface GroovyPageLocator
Used to locate GSPs whether in development or WAR deployed mode.
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
addResourceLoader(ResourceLoader resourceLoader) Adds a new resource loader to search |
|
public GroovyPageScriptSource |
findPage(java.lang.String uri) Finds a page for the given URI |
|
public GroovyPageScriptSource |
findPageInBinding(java.lang.String pluginName, java.lang.String uri, TemplateVariableBinding binding) Finds a page for the given URI |
|
public GroovyPageScriptSource |
findPageInBinding(java.lang.String uri, TemplateVariableBinding binding) Finds a page for the URI and binding |
|
public void |
removePrecompiledPage(GroovyPageCompiledScriptSource compiledScriptSource) Removes any precompiled pages for the given URI so that they can be replaced by dynamic pages |
Adds a new resource loader to search
resourceLoader
- The resource loader to searchFinds a page for the given URI
uri
- The URIFinds a page for the given URI
pluginName
- The plugin nameuri
- The URIbinding
- The biding to useFinds a page for the URI and binding
uri
- The URIbinding
- The bindingRemoves any precompiled pages for the given URI so that they can be replaced by dynamic pages
compiledScriptSource
- The compiled script source