return false;
}
}
Resource createRootResource() {
final Resource rootResource = Resource.Factory.create();
final Resource host = Resource.Factory.create();
final Resource serverOneConfig = Resource.Factory.create();
final ModelNode serverOneModel = new ModelNode();
serverOneModel.get(GROUP).set("group-one");
serverOneConfig.writeModel(serverOneModel);
host.registerChild(PathElement.pathElement(SERVER_CONFIG, "server-one"), serverOneConfig);
final Resource serverTwoConfig = Resource.Factory.create();
final ModelNode serverTwoModel = new ModelNode();
serverTwoModel.get(GROUP).set("group-one");
serverTwoConfig.writeModel(serverTwoModel);
host.registerChild(PathElement.pathElement(SERVER_CONFIG, "server-two"), serverTwoConfig);
final Resource serverThreeConfig = Resource.Factory.create();
final ModelNode serverThreeModel = new ModelNode();
serverThreeModel.get(GROUP).set("group-two");
serverThreeConfig.writeModel(serverThreeModel);
host.registerChild(PathElement.pathElement(SERVER_CONFIG, "server-three"), serverThreeConfig);
rootResource.registerChild(PathElement.pathElement(HOST, "localhost"), host);
hack(rootResource, EXTENSION);
hack(rootResource, PATH);