Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.groovy.grails.web.pages
[Java] Class GroovyPageResourceLoader

    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.

Authors:
  Graeme Rocher

See Also:
  StaticResourceLoader

Since:
  0.5

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)`
`Resource` | `getResource(java.lang.String location)`
`void` | `setBaseResource(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), 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()

Field Detail

### BEAN_ID

    public static final java.lang.String BEAN_ID

  The id of the instance of this bean to be used in the Spring context

Method Detail

### buildPluginViewPath

    protected java.lang.String buildPluginViewPath(java.lang.String pluginBaseDirectory, java.lang.String pluginName, java.lang.String pathRelativeToPlugin)

### buildPluginViewPathFromBase

    protected java.lang.String buildPluginViewPathFromBase(java.lang.String pluginBase, java.lang.String pathRelativeToPlugin, java.lang.StringBuilder builder)

### getResource

    @Override
    public Resource getResource(java.lang.String location)

### setBaseResource

    @Override
    public void setBaseResource(Resource baseResource)

### setPluginSettings

    public void setPluginSettings(PluginBuildSettings settings)

Groovy Documentation