class SessionRouteRegistry extends AbstractRouteRegistry {

    @Override
    @Deprecated
    public List<Class<? extends RouterLayout>> getRouteLayouts(String path,
            Class<? extends Component> navigationTarget) {
        final NavigationRouteTarget navigationRouteTarget = getConfiguration()
                .getNavigationRouteTarget(path);
        if (navigationRouteTarget.hasTarget()) {
            return navigationRouteTarget.getRouteTarget().getParentLayouts();
        }
        return getParentRegistry().getRouteLayouts(path, navigationTarget);
    }

      SessionRouteRegistry(VaadinSession session);

}