new InetSocketAddress("localhost", 0).getAddress());
}
}
);
} catch (Exception e) {
<BUG>e.printStackTrace();
}</BUG>
locationFactory = injector.getInstance(LocationFactory.class);
discoveryServiceClient = injector.getInstance(DiscoveryServiceClient.class);
}

new InetSocketAddress("localhost", 0).getAddress());
}
}
);
} catch (Exception e) {
LOG.error("Failure during initial bind and injection : " + e.getMessage(), e);
Throwables.propagate(e);
}
locationFactory = injector.getInstance(LocationFactory.class);
discoveryServiceClient = injector.getInstance(DiscoveryServiceClient.class);
}
