|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
public interface GroovyPageLocator
Used to locate GSPs whether in development or WAR deployed mode.
| Method Summary | |
|---|---|
void
|
addResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
Adds a new resource loader to search |
GroovyPageScriptSource
|
findPage(java.lang.String uri)
Finds a page for the given URI |
GroovyPageScriptSource
|
findPageInBinding(java.lang.String pluginName, java.lang.String uri, GroovyPageBinding binding)
Finds a page for the given URI |
GroovyPageScriptSource
|
findPageInBinding(java.lang.String uri, GroovyPageBinding binding)
Finds a page for the URI and binding |
void
|
removePrecompiledPage(GroovyPageCompiledScriptSource compiledScriptSource)
Removes any precompiled pages for the given URI so that they can be replaced by dynamic pages |
| Method Detail |
|---|
public void addResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
resourceLoader - The resource loader to search
public GroovyPageScriptSource findPage(java.lang.String uri)
uri - The URI
public GroovyPageScriptSource findPageInBinding(java.lang.String pluginName, java.lang.String uri, GroovyPageBinding binding)
uri - The URI
public GroovyPageScriptSource findPageInBinding(java.lang.String uri, GroovyPageBinding binding)
uri - The URIbinding - The binding
public void removePrecompiledPage(GroovyPageCompiledScriptSource compiledScriptSource)
compiledScriptSource - The compiled script source
Groovy Documentation