eventService = (EventService) getBindingSite().getServiceBroker().getService( this, EventService.class, null);
  protected void setupSubscriptions() {    String me = getAgentIdentifier().toString();    logger = LoggingServiceWithPrefix.add(logger, me + ": ");        //System.out.println("setupSubscriptions: "+getAgentIdentifier());    //get the LDM service to access the object factories from my bindingsite's servicebroker    LDMService ldmService = null;    if (theLDMF == null) {      ldmService = (LDMService) getBindingSite().getServiceBroker().getService(this, LDMService.class,                                                  new ServiceRevokedListener() {				         public void serviceRevoked(ServiceRevokedEvent re) {				       theLDMF = null;        }      });    }    //use the service    theLDMF = ldmService.getFactory();        Collection params = getParameters();    if (params != null) {      myParams = (String[]) params.toArray(new String[params.size()]);    } else {      myParams = new String[0];    }        // subscribe using the blackboardservice - blackboard variable(representing the service)    //is inherited from ComponentPlugin    mySelfOrgs = (IncrementalSubscription) blackboard.subscribe(mySelfOrgAssetPred);        if (blackboard.didRehydrate()) {      processOrgAssets(mySelfOrgs.elements()); // May already be there    }  }