public void registerMethod(String actionName, String methodName, Class actionClass, Method method) {
this.directAction = new DirectAction(this.getNamespace(), actionName, actionClass);
this.directMethod = this.directAction.addMethod(methodName, method);
if(method.isAnnotationPresent(PollingProviderConfig.class)) {
PollingProviderConfig config = method.getAnnotation(PollingProviderConfig.class);
this.interval = config.interval();
}
}
@Override
public void doProcess(InputOutputAdapter inputOutputAdapter) throws Throwable {