getFactory(),
domainService.getFactory(),
  private void parseQueryFile(InputStreamReader queryFile)   {     	 	 			    try       {        BufferedReader in = new BufferedReader(queryFile);        Properties pt = null;			          for (String line = in.readLine(); line != null; line=in.readLine())          {			              line = line.trim();			  				            // skip empty lines            if (line.length() == 0)              continue;			              int len;            // handle continuation lines            while ((len = line.length()) > 0 && '\\' == line.charAt(len-1))               {                line = (line.substring(0,len-1))+(in.readLine().trim());              }            line = Parameters.replaceParameters(line); // parameterize			              char c = line.charAt(0);			              // skip comments            if (c == '#')              continue;			              // queryhandler section            if (c == '%')               {                String s = line.substring(1).trim(); // skip the %                if (s == null || s.length() == 0 || s.equals("Global"))                  {			                         // global handler parameters                    pt = null;                  }                else                  {                    // s names a queryhandler class (for now)                    try                      {                        if (s.indexOf('.') < 0)                          {                             // if the class has no package..                            // try the default package (which is the same as ours)                            String pkg = globalParameters.getProperty("Package");                            if (pkg != null)                              {                                s = pkg+"."+s;			                               }                          }// if statement			                          // This code needs to be commented out before delivery MML		                          QueryHandler cqh= (QueryHandler)(Class.forName(s).newInstance());                        cqh.initializeQH(this, // LDMEssentialPlugIn			    		                                         getClusterIdentifier(),                                         getCluster(),                                         getFactory(),                                         pt = (Properties)globalParameters.clone(),                                         getBlackboardService());			                        queries.addElement(cqh);                      } // try statement                    catch (Exception bogon)                       {                        System.err.println("Exception creating "+s+": "+bogon);                        bogon.printStackTrace();                      }                  }// else statement              }// if line begins with a %            else              {                // should be a param=value line                parseQueryParameter(((pt==null)?globalParameters:pt),                                    line);              }// else             //if (pt != null)			            //   pt.list(System.out);            //else            //   globalParameters.list(System.out);          }// for loop      }     catch (Exception e)       {	             e.printStackTrace();        throw new RuntimeException("No QueryFile: "+e);      }                 }//parseQueryFile