@Override
   public void writeImport(Definition def, Writer out) throws IOException
   {
      out.write("package " + def.getRaPackage() + ";");

      writeEol(out);
      writeEol(out);
      importLogging(def, out);
      out.write("import javax.naming.NamingException;\n");
      out.write("import javax.naming.Reference;\n\n");
      out.write("import javax.resource.ResourceException;\n");
      out.write("import javax.resource.spi.ConnectionManager;\n\n");
   }
@ Override public void writeImport ( Definition def , Writer out ) throws IOException { out . write ( "package " + def . getRaPackage ( ) + ";" ) ; writeEol ( out ) ; writeEol ( out ) ; importLogging ( def , out ) ; out . write ( "import javax.naming.NamingException;\n" ) ; out . write ( "import javax.naming.Reference;\n\n" ) ; out . write ( "import javax.resource.ResourceException;\n" ) ; out . write ( "import javax.resource.spi.ConnectionManager;\n\n" ) ; }
Output class import

@param def definition
@param out Writer
@throws IOException ioException