org.codehaus.waffle.action
Class AnnotatedMethodDefinitionFinder
java.lang.Object
org.codehaus.waffle.action.AbstractMethodDefinitionFinder
org.codehaus.waffle.action.AbstractOgnlMethodDefinitionFinder
org.codehaus.waffle.action.AnnotatedMethodDefinitionFinder
- All Implemented Interfaces:
- MethodDefinitionFinder
public class AnnotatedMethodDefinitionFinder
- extends AbstractOgnlMethodDefinitionFinder
Annotation-based method definition finder.
This is the default default definition finder used by Waffle.
Note: Pragmatic method calls will always take precedence.
- Author:
- Michael Ward
Method Summary |
protected java.util.List<java.lang.Object> |
getArguments(java.lang.reflect.Method method,
javax.servlet.http.HttpServletRequest request)
Returns the method arguments contained in the request |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotatedMethodDefinitionFinder
public AnnotatedMethodDefinitionFinder(javax.servlet.ServletContext servletContext,
ArgumentResolver argumentResolver,
MethodNameResolver methodNameResolver,
StringTransmuter stringTransmuter,
ActionMonitor actionMonitor)
getArguments
protected java.util.List<java.lang.Object> getArguments(java.lang.reflect.Method method,
javax.servlet.http.HttpServletRequest request)
- Description copied from class:
AbstractMethodDefinitionFinder
- Returns the method arguments contained in the request
- Specified by:
getArguments
in class AbstractMethodDefinitionFinder
- Parameters:
method
- the Methodrequest
- the HttpServetRequest
- Returns:
- the list of arguments
Copyright © 2008. All Rights Reserved.