Пример #1
0
  public void setDiverts(List<ActivemqDivert> diverts) {
    provider.setList(diverts);
    serverName.setText("Diverts: Provider " + presenter.getCurrentServer());
    table.selectDefaultEntity();

    // populate oracle
    presenter.loadExistingQueueNames(
        new AsyncCallback<List<String>>() {
          @Override
          public void onFailure(Throwable throwable) {}

          @Override
          public void onSuccess(List<String> names) {
            divertForm.setQueueNames(names);
          }
        });
  }
Пример #2
0
 public void setSecurityConfig(List<ActivemqSecurityPattern> patterns) {
   secProvider.setList(patterns);
   secTable.selectDefaultEntity();
   form.setEnabled(false);
   serverName.setText("Security Settings: Provider " + presenter.getCurrentServer());
 }