Package org.grails.core.artefact
Class ControllerArtefactHandler
- java.lang.Object
-
- grails.core.ArtefactHandlerAdapter
-
- org.grails.core.artefact.ControllerArtefactHandler
-
- All Implemented Interfaces:
ArtefactHandler
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
Fields Modifier and Type Field Description static java.lang.StringPLUGIN_NAMEstatic java.lang.StringTYPE-
Fields inherited from class grails.core.ArtefactHandlerAdapter
allowAbstract, artefactSuffix, grailsClassImpl, grailsClassType, type
-
-
Constructor Summary
Constructors Constructor Description ControllerArtefactHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPluginName()Obtains the plugin name that deals with this artefact.-
Methods inherited from class grails.core.ArtefactHandlerAdapter
getArtefactForFeature, getType, initialize, isArtefact, isArtefact, isArtefactClass, isArtefactGrailsClass, isArtefactResource, isValidArtefactClassNode, newArtefactClass
-
-
-
-
Field Detail
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
PLUGIN_NAME
public static final java.lang.String PLUGIN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPluginName
public java.lang.String getPluginName()
Description copied from interface:ArtefactHandlerObtains the plugin name that deals with this artefact.- Specified by:
getPluginNamein interfaceArtefactHandler- Overrides:
getPluginNamein classArtefactHandlerAdapter- Returns:
- The plugin name or null if there isn't one
-
-