|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.commons.ArtefactHandlerAdapter org.codehaus.groovy.grails.commons.ControllerArtefactHandler
public class ControllerArtefactHandler extends ArtefactHandlerAdapter
Lookup controllers for uris.
This class is responsible for looking up controller classes for uris.
Lookups are cached in non-development mode, and the cache size can be controlled using the grails.urlmapping.cache.maxsize config property.
Field Summary | |
---|---|
static java.lang.String |
PLUGIN_NAME
|
static java.lang.String |
TYPE
|
Fields inherited from class ArtefactHandlerAdapter | |
---|---|
log |
Constructor Summary | |
ControllerArtefactHandler()
|
Method Summary | |
---|---|
GrailsClass
|
getArtefactForFeature(java.lang.Object featureId)
|
java.lang.String
|
getPluginName()
|
void
|
initialize(ArtefactInfo artefacts)
|
void
|
setGrailsApplication(GrailsApplication grailsApplication)
|
Methods inherited from class ArtefactHandlerAdapter | |
---|---|
getArtefactForFeature, getPluginName, getType, initialize, isArtefact, isArtefactClass, isArtefactGrailsClass, newArtefactClass |
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 |
---|
public static final java.lang.String PLUGIN_NAME
public static final java.lang.String TYPE
Constructor Detail |
---|
public ControllerArtefactHandler()
Method Detail |
---|
@Override public GrailsClass getArtefactForFeature(java.lang.Object featureId)
@Override public java.lang.String getPluginName()
@Override public void initialize(ArtefactInfo artefacts)
public void setGrailsApplication(GrailsApplication grailsApplication)
Groovy Documentation