java.lang.Object
ch.ralscha.extdirectspring.util.MethodInfo

public final class MethodInfo extends Object
Object holds information about a method like the method itself and a list of parameters.
  • Constructor Details

    • MethodInfo

      public MethodInfo(Class<?> clazz, org.springframework.context.ApplicationContext context, String beanName, Method method)
  • Method Details

    • getMethod

      public Method getMethod()
    • getForwardPath

      public String getForwardPath()
    • getHandlerMethod

      public org.springframework.web.method.HandlerMethod getHandlerMethod()
    • getParameters

      public List<ParameterInfo> getParameters()
    • getCollectionType

      public Class<?> getCollectionType()
    • isType

      public boolean isType(ExtDirectMethodType methodType)
    • getJsonView

      public Class<?> getJsonView()
    • isSynchronizeOnSession

      public boolean isSynchronizeOnSession()
    • isStreamResponse

      public boolean isStreamResponse()
    • getPollingProvider

      public PollingProvider getPollingProvider()
    • getAction

      public Action getAction()
    • getGroup

      public String 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 method
      annotation - the annotation to look for
      Returns:
      the method if there is a annotated method, else null