org.codehaus.waffle.action
Class AbstractOgnlMethodDefinitionFinder
java.lang.Object
org.codehaus.waffle.action.AbstractMethodDefinitionFinder
org.codehaus.waffle.action.AbstractOgnlMethodDefinitionFinder
- All Implemented Interfaces:
- MethodDefinitionFinder
- Direct Known Subclasses:
- AnnotatedMethodDefinitionFinder, ParanamerMethodDefinitionFinder
public abstract class AbstractOgnlMethodDefinitionFinder
- extends AbstractMethodDefinitionFinder
Abstract method definition finder that uses Ognl to find methods
- Author:
- Mauro Talevi
Method Summary |
protected java.util.List<java.lang.reflect.Method> |
findMethods(java.lang.Class<?> type,
java.lang.String methodName)
Inspects the class (aka Type) and finds all methods with that name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractOgnlMethodDefinitionFinder
public AbstractOgnlMethodDefinitionFinder(javax.servlet.ServletContext servletContext,
ArgumentResolver argumentResolver,
MethodNameResolver methodNameResolver,
StringTransmuter stringTransmuter,
ActionMonitor actionMonitor,
MessageResources messageResources)
findMethods
protected java.util.List<java.lang.reflect.Method> findMethods(java.lang.Class<?> type,
java.lang.String methodName)
- Inspects the class (aka Type) and finds all methods with that name.
- Specified by:
findMethods
in class AbstractMethodDefinitionFinder
- Parameters:
type
- the Class in which to look for the methodmethodName
- the method name
- Returns:
- A List of methods
- Throws:
NoMatchingActionMethodException
- if no methods match
Copyright © 2008. All Rights Reserved.