Notifications.addReloadHandler(Console.this);
// try to select a host and server instance (necessary for things like indexing)
if (context.getInitialHosts() != null && context.getInitialHosts().getSelectedHost() != null) {
Console.getEventBus().fireEvent(
new GlobalHostSelection(context.getInitialHosts().getSelectedHost().getName()));
}
if (context.getInitialServer() != null) {
Console.getEventBus().fireEvent(new GlobalServerSelection(context.getInitialServer()));
}