throw new RuntimeException("Host selection not set!");
ModelNode address = new ModelNode();
address.add("host", currentHost.getName());
LoadPropertiesCmd loadPropCmd = new LoadPropertiesCmd(dispatcher, factory, address);
loadPropCmd.execute(new SimpleCallback<List<PropertyRecord>>() {
@Override
public void onSuccess(List<PropertyRecord> result) {
getView().setProperties(result);
}
});