Class AnnotatedMethodFilter

All Implemented Interfaces:

public class AnnotatedMethodFilter extends Object implements org.springframework.expression.MethodFilter
A MethodFilter implementation that enables the following:
  1. matching on method name, if available
  2. exclusion of void-returning methods if 'requiresReply' is true
  3. limiting to annotated methods if at least one is present

Mark Fisher, Janne Valkealahti
  • Constructor Details

    • AnnotatedMethodFilter

      public AnnotatedMethodFilter(Class<? extends Annotation> annotationType, String methodName, boolean requiresReply)
  • Method Details

    • filter

      public List<Method> filter(List<Method> methods)
      Specified by:
      filter in interface org.springframework.expression.MethodFilter