Exemplo n.º 1
0
  public synchronized void deploy() throws Exception {
    if (clustered) {
      for (BroadcastGroupConfiguration config : configuration.getBroadcastGroupConfigurations()) {
        deployBroadcastGroup(config);
      }

      for (ClusterConnectionConfiguration config : configuration.getClusterConfigurations()) {
        deployClusterConnection(config);
      }
    }
  }
Exemplo n.º 2
0
  public synchronized void deploy() throws Exception {
    if (state == State.STOPPED) {
      state = State.DEPLOYED;
    } else {
      throw new IllegalStateException();
    }

    for (BroadcastGroupConfiguration config : configuration.getBroadcastGroupConfigurations()) {
      deployBroadcastGroup(config);
    }

    for (ClusterConnectionConfiguration config : configuration.getClusterConfigurations()) {
      deployClusterConnection(config);
    }
  }