org.codehaus.groovy.grails.web.servlet.mvc
Class MethodGrailsControllerHelper

java.lang.Object
  extended by org.codehaus.groovy.grails.web.servlet.mvc.AbstractGrailsControllerHelper
      extended by org.codehaus.groovy.grails.web.servlet.mvc.MethodGrailsControllerHelper
All Implemented Interfaces:
org.codehaus.groovy.grails.plugins.support.aware.GrailsApplicationAware, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware

public class MethodGrailsControllerHelper
extends AbstractGrailsControllerHelper

Implements action invocation through Method.

Since:
2.0

Field Summary
static java.lang.Class<?>[] NOARGS
           
 
Fields inherited from class org.codehaus.groovy.grails.web.servlet.mvc.AbstractGrailsControllerHelper
application, applicationContext, grailsAttributes, servletContext
 
Constructor Summary
MethodGrailsControllerHelper()
           
 
Method Summary
protected  java.lang.Object invoke(groovy.lang.GroovyObject controller, java.lang.Object action)
           
protected  java.lang.reflect.Method retrieveAction(groovy.lang.GroovyObject controller, java.lang.String actionName, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.codehaus.groovy.grails.web.servlet.mvc.AbstractGrailsControllerHelper
executeAction, getControllerClassByName, getControllerClassByURI, getControllerInstance, getGrailsAttributes, getServletContext, handleAction, handleAction, handleActionResponse, handleURI, handleURI, setApplicationContext, setGrailsApplication, setServletContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOARGS

public static final java.lang.Class<?>[] NOARGS
Constructor Detail

MethodGrailsControllerHelper

public MethodGrailsControllerHelper()
Method Detail

retrieveAction

protected java.lang.reflect.Method retrieveAction(groovy.lang.GroovyObject controller,
                                                  java.lang.String actionName,
                                                  javax.servlet.http.HttpServletResponse response)
Specified by:
retrieveAction in class AbstractGrailsControllerHelper

invoke

protected java.lang.Object invoke(groovy.lang.GroovyObject controller,
                                  java.lang.Object action)
Specified by:
invoke in class AbstractGrailsControllerHelper