use of com.hazelcast.config.ConfigXmlGenerator in project hazelcast by hazelcast.
the class MemberConfigRequest method writeResponse.
@Override
public void writeResponse(ManagementCenterService mcs, JsonObject root) {
final JsonObject result = new JsonObject();
ConfigXmlGenerator configXmlGenerator = new ConfigXmlGenerator(true);
Config config = mcs.getHazelcastInstance().getConfig();
String configXmlString = configXmlGenerator.generate(config);
result.add("configXmlString", configXmlString);
root.add("result", result);
}
Aggregations