|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.grails.commons.ArtefactHandlerAdapter
org.codehaus.groovy.grails.commons.ControllerArtefactHandler
public class ControllerArtefactHandler
Field Summary | |
---|---|
static java.lang.String |
TYPE
|
Fields inherited from class org.codehaus.groovy.grails.commons.ArtefactHandlerAdapter |
---|
log |
Constructor Summary | |
---|---|
ControllerArtefactHandler()
|
Method Summary | |
---|---|
GrailsClass |
getArtefactForFeature(java.lang.Object feature)
Called to retrieve an artefact relating to some other key for example a URI or tag name Handlers are responsible for caching the appropriate information using the data passed to them in calls to initialize() |
void |
initialize(ArtefactInfo artefacts)
Sets up the relationships between the domain classes, this has to be done after the intial creation to avoid looping |
Methods inherited from class org.codehaus.groovy.grails.commons.ArtefactHandlerAdapter |
---|
getType, isArtefact, isArtefactClass, isArtefactGrailsClass, newArtefactClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TYPE
Constructor Detail |
---|
public ControllerArtefactHandler()
Method Detail |
---|
public void initialize(ArtefactInfo artefacts)
ArtefactHandlerAdapter
initialize
in interface ArtefactHandler
initialize
in class ArtefactHandlerAdapter
artefacts
- The collection of artefact classes for this handlerpublic GrailsClass getArtefactForFeature(java.lang.Object feature)
ArtefactHandler
Called to retrieve an artefact relating to some other key for example a URI or tag name
Handlers are responsible for caching the appropriate information using the data passed to them in calls to initialize()
getArtefactForFeature
in interface ArtefactHandler
getArtefactForFeature
in class ArtefactHandlerAdapter
feature
- Any object that acts as a key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |