ch.ralscha.extdirectspring.util
Class MethodInfo
java.lang.Object
ch.ralscha.extdirectspring.util.MethodInfo
public class MethodInfo
- extends Object
Object holds information about a method like the method itself and a list of
parameters
- Author:
- Ralph Schaer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInfo
public MethodInfo(Class<?> clazz,
Method method)
getMethod
public Method getMethod()
getForwardPath
public String getForwardPath()
getParameters
public List<ParameterInfo> getParameters()
getCollectionType
public Class<?> getCollectionType()
isType
public boolean isType(ExtDirectMethodType methodType)
isSynchronizeOnSession
public boolean isSynchronizeOnSession()
findMethodWithAnnotation
public static Method findMethodWithAnnotation(Method method,
Class<? extends Annotation> annotation)
- Find a method that is annotated with a specific annotation. Starts with the
method and goes up to the superclasses of the class.
- Parameters:
method - the starting methodannotation - the annotation to look for
- Returns:
- the method if there is a annotated method, else null
Copyright © 2010-2011. All Rights Reserved.