public void onSuccess(final FunctionContext context) {
List<HostInfo> hosts = context.pop();
getView().updateHosts(deriveGroups(hosts), hostIndex);
}
};
new Async<FunctionContext>(Footer.PROGRESS_ELEMENT).waterfall(new FunctionContext(), outcome,
new TopologyFunctions.HostsAndGroups(dispatcher),
new TopologyFunctions.ServerConfigs(dispatcher, beanFactory),
new TopologyFunctions.RunningServerInstances(dispatcher));
}
}