private void loadConfiguration(URL url) throws RouterConfigException, IOException {
log.info("Loading router configuration " + url);
InputStream in = url.openStream();
try {
ControllerDescriptor routerDesc = new DescriptorBuilder().build(in);
Router router = new Router(routerDesc);
routerRef.set(router);
} finally {
Safe.close(in);
}