for (String beanName : beanNames) {
Class<?> handlerType = context.getType(beanName);
final Class<?> userType = ClassUtils.getUserClass(handlerType);
Set<Method> methods = HandlerMethodSelector.selectMethods(userType, new MethodFilter() {
@Override
public boolean matches(Method method) {
return AnnotationUtils.findAnnotation(method, ExtDirectMethod.class) != null;
}
});