java.lang.Object
ch.ralscha.extdirectspring.util.MethodInfo
Object holds information about a method like the method itself and a list of
parameters.
-
Constructor Summary
ConstructorsConstructorDescriptionMethodInfo(Class<?> clazz, org.springframework.context.ApplicationContext context, String beanName, Method method) -
Method Summary
Modifier and TypeMethodDescriptionstatic MethodfindMethodWithAnnotation(Method method, Class<? extends Annotation> annotation) Find a method that is annotated with a specific annotation.Class<?> getGroup()org.springframework.web.method.HandlerMethodClass<?> booleanbooleanbooleanisType(ExtDirectMethodType methodType)
-
Constructor Details
-
MethodInfo
-
-
Method Details
-
getMethod
-
getForwardPath
-
getHandlerMethod
public org.springframework.web.method.HandlerMethod getHandlerMethod() -
getParameters
-
getCollectionType
-
isType
-
getJsonView
-
isSynchronizeOnSession
public boolean isSynchronizeOnSession() -
isStreamResponse
public boolean isStreamResponse() -
getPollingProvider
-
getAction
-
getGroup
-
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
-