code: void generateEisCode(Definition def)
     {
        try
        {
           String clazzName = this.getClass().getPackage().getName() + ".code.TestEisCodeGen";
           String javaFile = def.getDefaultValue() + "Handler.java";
           FileWriter fw = Utils.createTestFile(javaFile, def.getRaPackage(), def.getOutputDir());
  
           Class<?> clazz = Class.forName(clazzName, true, Thread.currentThread().getContextClassLoader());
           AbstractCodeGen codeGen = (AbstractCodeGen) clazz.newInstance();
  
           codeGen.generate(def, fw);
  
           fw.flush();
           fw.close();
        }
        catch (Exception e)
        {
           e.printStackTrace();
        }
     }
docs: generate Eis test server
  
  @param def Definition