log = CSMART.createLogger(this.getClass().getName());
  public void setupSubscriptions() {    log = CSMART.createLogger(this.getClass().getName());    if (log.isDebugEnabled()) {      log.debug("setupSubscriptions:" + this + ":Entering");    }        // Load in the config file.    Vector pv = getParameters() != null ? new Vector(getParameters()) : null;    if(pv == null ) {      throw new RuntimeException("ScriptedEventPlugIn expects parameters, got none");    }        String eventFileName = (String)pv.elementAt(0);    if(eventFileName == null) {      throw new RuntimeException("ScriptedEventPlugIn expected param[0] to be eventFile name");    }    String transducerName = (String)pv.elementAt(1);    if (transducerName == null || transducerName.equals("")) {      throw new RuntimeException("ScriptedEventPlugIn expected param[1] to be the name of the Transducer Agent");    }    transducer = new ClusterIdentifier(transducerName);        publishEvents(eventFileName);  }