code: private void writeXAResource(Definition def, Writer out, int indent) throws IOException
     {
        writeWithIndent(out, indent, "/**\n");
        writeWithIndent(out, indent, " * This method is called by the application server during crash recovery.\n");
        writeWithIndent(out, indent, " *\n");
        writeWithIndent(out, indent, " * @param specs An array of ActivationSpec JavaBeans \n");
        writeWithIndent(out, indent, " * @throws ResourceException generic exception \n");
        writeWithIndent(out, indent, " * @return An array of XAResource objects\n");
        writeWithIndent(out, indent, " */\n");
  
        writeWithIndent(out, indent, "public XAResource[] getXAResources(ActivationSpec[] specs)\n");
        writeWithIndent(out, indent + 1, "throws ResourceException");
        writeLeftCurlyBracket(out, indent);
        writeLogging(def, out, indent + 1, "trace", "getXAResources", "specs.toString()");
        writeWithIndent(out, indent + 1, "return null;");
        writeRightCurlyBracket(out, indent);
        writeEol(out);
     }
docs: Output getXAResources method
  
  @param def    definition
  @param out    Writer
  @param indent space number
  @throws IOException ioException