|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.groovy.grails.core.io.DefaultResourceLocator
org.codehaus.groovy.grails.web.pages.discovery.GroovyPageStaticResourceLocator
org.codehaus.groovy.grails.web.pages.discovery.CachingGroovyPageStaticResourceLocator
public class CachingGroovyPageStaticResourceLocator
Extends GroovyPageStaticResourceLocator adding caching of the result
of GroovyPageStaticResourceLocator.findResourceForURI(String).
| Field Summary |
|---|
| Fields inherited from class org.codehaus.groovy.grails.core.io.DefaultResourceLocator |
|---|
classNameToResourceCache, classSearchDirectories, CLOSURE_MARKER, defaultResourceLoader, FILE_SEPARATOR, NULL_RESOURCE, patchMatchingResolver, pluginManager, resourceSearchDirectories, uriToResourceCache, warDeployed, WEB_APP_DIR, WILDCARD |
| Constructor Summary | |
|---|---|
CachingGroovyPageStaticResourceLocator()
|
|
| Method Summary | |
|---|---|
org.springframework.core.io.Resource |
findResourceForURI(java.lang.String uri)
|
long |
getCacheTimeout()
|
void |
setCacheTimeout(long cacheTimeout)
|
| Methods inherited from class org.codehaus.groovy.grails.core.io.DefaultResourceLocator |
|---|
findResourceForClassName, findResourceInBinaryPlugins, getDefaultResourceLoader, setPluginManager, setResourceLoader, setSearchLocation, setSearchLocations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CachingGroovyPageStaticResourceLocator()
| Method Detail |
|---|
public org.springframework.core.io.Resource findResourceForURI(java.lang.String uri)
findResourceForURI in interface org.codehaus.groovy.grails.core.io.ResourceLocatorfindResourceForURI in class GroovyPageStaticResourceLocatorpublic long getCacheTimeout()
public void setCacheTimeout(long cacheTimeout)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||