code: private void writeMef(Definition def, Writer out, int indent) throws IOException
     {
        writeWithIndent(out, indent, "/**\n");
        writeWithIndent(out, indent, " * Get message endpoint factory\n");
        writeWithIndent(out, indent, " * @return Message endpoint factory\n");
        writeWithIndent(out, indent, " */\n");
  
        writeWithIndent(out, indent, "public MessageEndpointFactory getMessageEndpointFactory()");
        writeLeftCurlyBracket(out, indent);
        writeWithIndent(out, indent + 1, "return endpointFactory;");
  
        writeRightCurlyBracket(out, indent);
        writeEol(out);
     }
docs: Output message endpoint factory method
  
  @param def    definition
  @param out    Writer
  @param indent space number
  @throws IOException ioException