org.codehaus.waffle.action
Class ParanamerMethodDefinitionFinder

java.lang.Object
  extended by org.codehaus.waffle.action.AbstractMethodDefinitionFinder
      extended by org.codehaus.waffle.action.AbstractOgnlMethodDefinitionFinder
          extended by org.codehaus.waffle.action.ParanamerMethodDefinitionFinder
All Implemented Interfaces:
MethodDefinitionFinder

public class ParanamerMethodDefinitionFinder
extends AbstractOgnlMethodDefinitionFinder

Pananamer-based method definition finder, which can be used in alternative to other definition finders, eg AnnotatedMethodDefinitionFinder.

Note: Pragmatic method calls will always take precedence.

Author:
Paul Hammant
See Also:
AnnotatedMethodDefinitionFinder

Constructor Summary
ParanamerMethodDefinitionFinder(javax.servlet.ServletContext servletContext, ArgumentResolver argumentResolver, MethodNameResolver methodNameResolver, StringTransmuter stringTransmuter, ActionMonitor actionMonitor)
           
 
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 org.codehaus.waffle.action.AbstractOgnlMethodDefinitionFinder
findMethods
 
Methods inherited from class org.codehaus.waffle.action.AbstractMethodDefinitionFinder
find, formatArgument, resolveArguments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParanamerMethodDefinitionFinder

public ParanamerMethodDefinitionFinder(javax.servlet.ServletContext servletContext,
                                       ArgumentResolver argumentResolver,
                                       MethodNameResolver methodNameResolver,
                                       StringTransmuter stringTransmuter,
                                       ActionMonitor actionMonitor)
Method Detail

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 Method
request - the HttpServetRequest
Returns:
the list of arguments


Copyright © 2008. All Rights Reserved.