org.springframework.integration.util
Class AnnotatedMethodFilter
java.lang.Object
org.springframework.integration.util.AnnotatedMethodFilter
- All Implemented Interfaces:
- MethodFilter
public class AnnotatedMethodFilter
- extends Object
- implements MethodFilter
A MethodFilter implementation that enables the following:
- matching on method name, if available
- exclusion of void-returning methods if 'requiresReply' is true
- limiting to annotated methods if at least one is present
- Since:
- 2.0
- Author:
- Mark Fisher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotatedMethodFilter
public AnnotatedMethodFilter(Class<? extends Annotation> annotationType,
String methodName,
boolean requiresReply)
filter
public List<Method> filter(List<Method> methods)
- Specified by:
filter
in interface MethodFilter
Copyright © 2010. All Rights Reserved.