ControllerDelegate (Grails 2.2.5)
Date: 2014-03-04

Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.groovy.grails.webflow.engine.builder
[Groovy] Class ControllerDelegate

    java.lang.Object
      org.codehaus.groovy.grails.web.servlet.WebRequestDelegatingRequestContext
          org.codehaus.groovy.grails.webflow.engine.builder.AbstractDelegate
              org.codehaus.groovy.grails.webflow.engine.builder.ControllerDelegate

    class ControllerDelegate
    extends AbstractDelegate

A delegate that relays method calls onto the currently executing controller.

Authors:
  Graeme Rocher

Since:
  0.6

Constructor Summary
`ControllerDelegate(org.springframework.webflow.execution.RequestContext context)`

Method Summary
`java.lang.Object` | `invokeMethod(java.lang.String name, java.lang.Object args)` invokes a method as an action if possible

Methods inherited from class AbstractDelegate
getConversation, getCurrentEvent, getFlash, getFlow, getProperty

Methods inherited from class WebRequestDelegatingRequestContext
getActionName, getApplicationContext, getControllerName, getOut, getParams, getRequest, getRequestURI, getResponse, getServletContext, getSession, getWebRequest

Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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()

Constructor Detail

### ControllerDelegate

    ControllerDelegate(org.springframework.webflow.execution.RequestContext context)

Method Detail

### invokeMethod

    java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)

  invokes a method as an action if possible

Groovy Documentation