org.codehaus.groovy.grails.web.metaclass
Class ChainDynamicMethod
java.lang.Object
org.codehaus.groovy.grails.commons.metaclass.AbstractDynamicMethodInvocation
org.codehaus.groovy.grails.web.metaclass.ChainDynamicMethod
- All Implemented Interfaces:
- DynamicMethodInvocation
public class ChainDynamicMethod
- extends AbstractDynamicMethodInvocation
Implements the "chain" Controller method for action chaining
- Since:
- 0.2
Created: Oct 27, 2005
- Author:
- Graeme Rocher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
METHOD_SIGNATURE
public static final String METHOD_SIGNATURE
- See Also:
- Constant Field Values
METHOD_PATTERN
public static final Pattern METHOD_PATTERN
ARGUMENT_CONTROLLER
public static final String ARGUMENT_CONTROLLER
- See Also:
- Constant Field Values
ARGUMENT_ACTION
public static final String ARGUMENT_ACTION
- See Also:
- Constant Field Values
ARGUMENT_ID
public static final String ARGUMENT_ID
- See Also:
- Constant Field Values
ARGUMENT_PARAMS
public static final String ARGUMENT_PARAMS
- See Also:
- Constant Field Values
ARGUMENT_ERRORS
public static final String ARGUMENT_ERRORS
- See Also:
- Constant Field Values
ARGUMENT_MODEL
public static final Object ARGUMENT_MODEL
PROPERTY_CHAIN_MODEL
public static final String PROPERTY_CHAIN_MODEL
- See Also:
- Constant Field Values
ChainDynamicMethod
public ChainDynamicMethod()
invoke
public Object invoke(Object target,
String methodName,
Object[] arguments)
- Description copied from interface:
DynamicMethodInvocation
Invokes the actual method. The target object and arguments are supplied.
- Specified by:
invoke
in interface DynamicMethodInvocation
- Specified by:
invoke
in class AbstractDynamicMethodInvocation
- Parameters:
target
- the target on which the method is invoked.arguments
- the arguments passed in the method call @return the return value of the dynamic method invocation.
getScaffolderForController
public GrailsScaffolder getScaffolderForController(String controllerName,
GrailsWebRequest webRequest)
Copyright (c) 2005-2006 The Grails project