new ReaffiliationNotificationHandler(getBindingSite(), agentId, null);
  public void setupSubscriptions() {    myName = agentId.toString();    // Get required services    logger =      (LoggingService)getBindingSite().getServiceBroker().getService(this, LoggingService.class, null);    logger = org.cougaar.core.logging.LoggingServiceWithPrefix.add(logger, agentId + ": ");    uidService =      (UIDService) getBindingSite().getServiceBroker().getService(this, UIDService.class, null);    // Subscribe to Node Status updates sent by peer Health Monitors via Relay    nodeStatusRelaySub =        (IncrementalSubscription)blackboard.subscribe(nodeStatusRelayPredicate);    statusListeners.add(new StatusListener());    // Subscribe to external requests    healthMonitorRequests =        (IncrementalSubscription)blackboard.subscribe(healthMonitorRequestPredicate);    Collection communities = commSvc.searchCommunity(null,                                             "(CommunityType=Robustness)",                                             false,                                             Community.COMMUNITIES_ONLY,                                             null);    if (communities != null && !communities.isEmpty()) {      processCommunityChanges(communities);    }    commSvc.addListener(new CommunityChangeListener() {      public String getCommunityName() { return null; }      public void communityChanged(CommunityChangeEvent cce) {        Attributes attrs = cce.getCommunity().getAttributes();        Attribute attr = attrs.get("CommunityType");        if (attr != null && attr.contains("Robustness")) {           myCommunity = cce.getCommunityName();           communityChanged = true;        }      }    });    // Start timer to periodically check status of agents    String updateIntervalStr =        System.getProperty(STATUS_UPDATE_PROPERTY,                           Long.toString(DEFAULT_STATUS_UPDATE_INTERVAL));    updateInterval = Long.parseLong(updateIntervalStr);    wakeAlarm = new WakeAlarm(now() + updateInterval);    alarmService.addRealTimeAlarm(wakeAlarm);  }