|
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
|
getRealLocationInProject(java.lang.String location)
Retrieves the real location of a GSP within a Grails project |
Resource
|
getResource(java.lang.String location)
|
protected Resource
|
lookupResourceForPluginPath(java.lang.String location)
|
void
|
setBaseResource(Resource baseResource)
|
void
|
setPluginSettings(PluginBuildSettings settings)
|
Methods inherited from class StaticResourceLoader | |
---|---|
getClassLoader, getResource, setBaseResource |
Field Detail |
---|
public static final java.lang.String BEAN_ID
Method Detail |
---|
protected java.lang.String getRealLocationInProject(java.lang.String location)
location
- The location of the GSP at deployment time
@Override public Resource getResource(java.lang.String location)
protected Resource lookupResourceForPluginPath(java.lang.String location)
@Override public void setBaseResource(Resource baseResource)
public void setPluginSettings(PluginBuildSettings settings)
Groovy Documentation