newInterface(Interfacetype.REGISTRY, "thrift://localhost:49083", "0.1"));
interfaces.getInterfaces().add(
newInterface(Interfacetype.MESSAGING, "vm://localhost", "0.1"));
clusterEntity.setInterfaces(interfaces);
Location location = new Location();
location.setName("staging");
location.setPath("/projects/falcon/staging");
Locations locs = new Locations();
locs.getLocations().add(location);
location = new Location();
location.setName("working");
location.setPath("/project/falcon/working");
locs.getLocations().add(location);
clusterEntity.setLocations(locs);
}