|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.support.StaticResourceLoader org.codehaus.groovy.grails.web.pages.GroovyPageResourceLoader
public class GroovyPageResourceLoader extends StaticResourceLoader
A StaticResourceLoader that loads GSPs from a local grails-app folder instead of from WEB-INF in development mode.
Field Summary | |
---|---|
static java.lang.String |
BEAN_ID
The id of the instance of this bean to be used in the Spring context |
Method Summary | |
---|---|
protected java.lang.String
|
buildPluginViewPath(java.lang.String pluginBaseDirectory, java.lang.String pluginName, java.lang.String pathRelativeToPlugin)
|
protected java.lang.String
|
buildPluginViewPathFromBase(java.lang.String pluginBase, java.lang.String pathRelativeToPlugin, java.lang.StringBuilder builder)
|
org.springframework.core.io.Resource
|
getResource(java.lang.String location)
|
void
|
setBaseResource(org.springframework.core.io.Resource baseResource)
|
void
|
setPluginSettings(PluginBuildSettings settings)
|
Methods inherited from class StaticResourceLoader | |
---|---|
getClassLoader, getResource, setBaseResource |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |
Field Detail |
---|
public static final java.lang.String BEAN_ID
Method Detail |
---|
protected java.lang.String buildPluginViewPath(java.lang.String pluginBaseDirectory, java.lang.String pluginName, java.lang.String pathRelativeToPlugin)
protected java.lang.String buildPluginViewPathFromBase(java.lang.String pluginBase, java.lang.String pathRelativeToPlugin, java.lang.StringBuilder builder)
@Override public org.springframework.core.io.Resource getResource(java.lang.String location)
@Override public void setBaseResource(org.springframework.core.io.Resource baseResource)
public void setPluginSettings(PluginBuildSettings settings)
Groovy Documentation