Method[] methods = beanClass.getMethods();
for (Method method : methods) {
ExtDirectMethod annotation = AnnotationUtils.findAnnotation(method, ExtDirectMethod.class);
if (annotation != null && isSameGroup(group, annotation.group())) {
ExtDirectMethodType type = annotation.value();
switch (type) {
case SIMPLE:
remotingApi.addAction(beanName, method.getName(), numberOfParameters(method));