code: @Override
     public void writeImport(Definition def, Writer out) throws IOException
     {
        out.write("package " + def.getRaPackage() + ".mbean;\n\n");
        out.write("import javax.management.MBeanServer;\n");
        out.write("import javax.management.ObjectName;\n");
        out.write("import javax.naming.InitialContext;\n\n");
  
        out.write("import " + def.getRaPackage() + "." + def.getMcfDefs().get(0).getConnInterfaceClass() + ";\n");
        out.write("import " + def.getRaPackage() + "." + def.getMcfDefs().get(0).getCfInterfaceClass() + ";\n\n");
     }
docs: Output class import
  
  @param def definition
  @param out Writer
  @throws IOException ioException