String assemblyMatch = DBUtils.getListMatch(assemblyID, "CMT");
String assemblyMatch = DBUtils.getListMatch(assemblyID);
  private void addPlugins() {    ContainerBase container = new ContainerBase("Plugins");    container.initProperties();    addChild(container);    String assemblyMatch = DBUtils.getListMatch(assemblyID, "CMT");    if (assemblyMatch != null) {      substitutions.put(":assemblyMatch", assemblyMatch);      substitutions.put(":agent_name", name);    }    // Get Plugin Names, class names, and parameters    try {      Connection conn = DBUtils.getConnection();      try {        Statement stmt = conn.createStatement();	        String query = dbp.getQuery(QUERY_PLUGIN_NAME, substitutions);        ResultSet rs = stmt.executeQuery(query);        while(rs.next()) {          String pluginClassName = rs.getString(1);          String pluginName = rs.getString(4);          PluginBase plugin = new PluginBase(pluginName, pluginClassName);          plugin.initProperties();          String alibId =rs.getString(2);          // does this need to be preserved in the plugin?          // plugin.setAlibID(alibId);          substitutions.put(":comp_alib_id", alibId);          substitutions.put(":comp_id", rs.getString(3));          Statement stmt2 = conn.createStatement();          String query2 = dbp.getQuery(QUERY_PLUGIN_ARGS, substitutions);          ResultSet rs2 = stmt2.executeQuery(query2);          while (rs2.next()) {            String arg = rs2.getString(1);            plugin.addParameter(arg);          }          rs2.close();          stmt2.close();          container.addChild(plugin);        } // end of loop over plugins to add        rs.close();        stmt.close();      } finally {        conn.close();      }    } catch (Exception e) {      if(log.isErrorEnabled()) {        log.error("Exception", e);      }      throw new RuntimeException("Error" + e);    }  }