Ejemplo n.º 1
0
  public void becomeParticipant() {
    ParticipantGmsImpl tmp = (ParticipantGmsImpl) impls.get(PART);

    if (tmp == null) {
      tmp = new ParticipantGmsImpl(this);
      impls.put(PART, tmp);
    }
    try {
      tmp.init();
    } catch (Exception e) {
      log.error("exception switching to participant", e);
    }
    setImpl(tmp);
  }