public static void generate(AdminDistributedSystem system, PrintWriter pw) {
    (new ManagedEntityConfigXmlGenerator(system)).generate(pw);
  }
Generates an XML representation of all of the managed entities in the given
<code>AdminDistributedSystem</code>.
geode-core/src/main/java/org/apache/geode/admin/internal/ManagedEntityConfigXmlGenerator.java