Package com.director.core.annotation

Examples of com.director.core.annotation.PollingProviderConfig.interval()


   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 {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.