//
Route root = new Router();
RouterService router = bridge.getApplication().resolveBean(RouterService.class);
if (router != null) {
RouterDescriptor desc = router.getDescriptor();
if (desc != null) {
Map<RouteDescriptor, Route> ret = desc.popupate(root);
for (Map.Entry<RouteDescriptor, Route> entry : ret.entrySet()) {
forwardRoutes.put(entry.getKey().handle, entry.getValue());
backwardRoutes.put(entry.getValue(), entry.getKey());
}
}