Class FixedMethodFilter

java.lang.Object
org.springframework.integration.util.FixedMethodFilter
All Implemented Interfaces:
org.springframework.expression.MethodFilter

public class FixedMethodFilter
extends java.lang.Object
implements org.springframework.expression.MethodFilter
A MethodFilter implementation that will always return the same Method instance within a single-element list if it is present in the candidate list. If the Method is not present in the candidate list, it will return an empty list.
Since:
2.0
  • Constructor Summary

    Constructors 
    Constructor Description
    FixedMethodFilter​(java.lang.reflect.Method method)  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<java.lang.reflect.Method> filter​(java.util.List<java.lang.reflect.Method> methods)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • filter

      public java.util.List<java.lang.reflect.Method> filter​(java.util.List<java.lang.reflect.Method> methods)
      Specified by:
      filter in interface org.springframework.expression.MethodFilter