Package ch.ralscha.extdirectspring.bean.api

Examples of ch.ralscha.extdirectspring.bean.api.PollingProvider


      break;
    case FORM_POST:
      this.action = new Action(method.getName(), 0, true);
      break;
    case POLL:
      this.pollingProvider = new PollingProvider(beanName, method.getName(), extDirectMethodAnnotation.event());
      break;
    case SSE:
      this.sseMethod = method.getName();
      break;
    default:
View Full Code Here


      break;
    case FORM_POST:
      this.action = new Action(method.getName(), 0, true);
      break;
    case POLL:
      this.pollingProvider = new PollingProvider(beanName, method.getName(), extDirectMethodAnnotation.event());
      break;
    }
  }
View Full Code Here

      break;
    case FORM_POST:
      this.action = new Action(method.getName(), 0, true);
      break;
    case POLL:
      this.pollingProvider = new PollingProvider(beanName, method.getName(), extDirectMethodAnnotation.event());
      break;
    case SSE:
      this.sseMethod = method.getName();
      break;
    default:
View Full Code Here

      break;
    case FORM_POST:
      this.action = new Action(method.getName(), 0, true);
      break;
    case POLL:
      this.pollingProvider = new PollingProvider(beanName, method.getName(), extDirectMethodAnnotation.event());
      break;
    }
  }
View Full Code Here

      break;
    case FORM_POST:
      this.action = new Action(method.getName(), 0, true);
      break;
    case POLL:
      this.pollingProvider = new PollingProvider(beanName, method.getName(), extDirectMethodAnnotation.event());
      break;
    default:
      throw new IllegalStateException("ExtDirectMethodType: " + type + " does not exists");
    }
View Full Code Here

    remotingApi.addAction("simpleService",
        new Action("toUpperCase", 1, Boolean.FALSE));
    remotingApi.addAction("simpleService",
        new Action("echo", Arrays.asList("userId", "logLevel")));

    PollingProvider pollingProvider = new PollingProvider("simpleService", "poll",
        "poll");
    remotingApi.addPollingProvider(pollingProvider);

    remotingApi.addSseProvider("simpleService", "sse");
    return remotingApi;
View Full Code Here

      break;
    case FORM_POST_JSON:
      this.action = new Action(method.getName(), 1, null);
      break;
    case POLL:
      this.pollingProvider = new PollingProvider(beanName, method.getName(),
          extDirectMethodAnnotation.event());
      break;
    case SSE:
      this.sseMethod = method.getName();
      break;
View Full Code Here

    remotingApi.addAction("remoteProviderStoreModifySingle", new Action("update4", 1,
        Boolean.FALSE));
    remotingApi
        .addAction("formInfoController", new Action("upload", 0, Boolean.TRUE));
    remotingApi.addAction("uploadService", new Action("upload", 0, Boolean.TRUE));
    remotingApi.addPollingProvider(new PollingProvider("pollProvider",
        "handleMessage1", "message1"));
    remotingApi.addPollingProvider(new PollingProvider("pollProvider",
        "handleMessage2", "message2"));
    remotingApi.addPollingProvider(new PollingProvider("pollProvider", "message6",
        "message6"));
    remotingApi.addSseProvider("sseProvider", "message1");
    remotingApi.addSseProvider("sseProvider", "message2");
    remotingApi.addSseProvider("sseProvider", "message6");
    return remotingApi;
View Full Code Here

    remotingApi.addAction("remoteProviderStoreModifySingle", new Action("update4", 1,
        Boolean.FALSE));
    remotingApi
        .addAction("formInfoController", new Action("upload", 0, Boolean.TRUE));
    remotingApi.addAction("uploadService", new Action("upload", 0, Boolean.TRUE));
    remotingApi.addPollingProvider(new PollingProvider("pollProvider",
        "handleMessage1", "message1"));
    remotingApi.addPollingProvider(new PollingProvider("pollProvider",
        "handleMessage2", "message2"));
    remotingApi.addPollingProvider(new PollingProvider("pollProvider", "message6",
        "message6"));
    remotingApi.addSseProvider("sseProvider", "message1");
    remotingApi.addSseProvider("sseProvider", "message2");
    remotingApi.addSseProvider("sseProvider", "message6");
    return remotingApi;
View Full Code Here

        Boolean.TRUE));
    remotingApi.addAction("formInfoController2", new Action("updateInfo2", 0,
        Boolean.TRUE));
    remotingApi.addAction("remoteProviderTreeLoad", new Action("method3", 1,
        Boolean.FALSE));
    remotingApi.addPollingProvider(new PollingProvider("pollProvider",
        "handleMessage5", "message5"));
    remotingApi.addSseProvider("sseProvider", "message5");
    return remotingApi;
  }
View Full Code Here

TOP

Related Classes of ch.ralscha.extdirectspring.bean.api.PollingProvider

Copyright © 2018 www.massapicom. 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.