public static class DefaultSpringViewNavigator.SpringViewNavigatorBuilder extends AbstractNavigatorBuilder<SpringViewNavigator.Builder,DefaultSpringViewNavigator> implements SpringViewNavigator.Builder
SpringViewNavigator instances.| Constructor and Description |
|---|
SpringViewNavigatorBuilder() |
| Modifier and Type | Method and Description |
|---|---|
SpringViewNavigator.Builder |
accessDeniedView(Class<? extends com.vaadin.navigator.View> viewClass)
Registers a view class for the view to show when a
ViewAccessControl or a
ViewInstanceAccessControl denies access to a view. |
SpringViewNavigator |
build()
Build the navigator instance
|
DefaultSpringViewNavigator |
buildInternal()
Builder method for internal use
|
SpringViewNavigator.Builder |
errorView(Class<? extends com.vaadin.navigator.View> viewClass)
Registers a view class for the view to show when no other view matches the navigation state.
|
addProvider, authenticationEnabled, defaultViewName, defaultViewNavigationStrategy, defaultViewWindowConfigurator, errorView, errorViewProvider, maxNavigationHistorySize, navigateToDefaultViewWhenViewNotAvailable, viewClassProvider, withViewChangeListenerequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddProvider, authenticationEnabled, defaultViewName, defaultViewNavigationStrategy, defaultViewWindowConfigurator, errorView, errorViewProvider, maxNavigationHistorySize, navigateToDefaultViewWhenViewNotAvailable, viewClassProvider, withViewChangeListenerpublic SpringViewNavigator.Builder errorView(Class<? extends com.vaadin.navigator.View> viewClass)
SpringViewNavigator.Builder
A bean of the given type is fetched on demand from the application context to be used as the error view. As a
fallback mechanism for backwards compatibility, Class.newInstance() is used if no such bean is found.
Note that an error view bean must be UI or prototype scoped.
errorView in interface SpringViewNavigator.BuilderviewClass - The View class whose instance should be used as the error viewpublic SpringViewNavigator.Builder accessDeniedView(Class<? extends com.vaadin.navigator.View> viewClass)
SpringViewNavigator.BuilderViewAccessControl or a
ViewInstanceAccessControl denies access to a view.
A bean of the given type is fetched on demand from the application context to be used as the access denied
view. As a fallback mechanism for backwards compatibility, Class.newInstance() is used if no such
bean is found.
Note that an access denied view bean must be UI or prototype scoped.
accessDeniedView in interface SpringViewNavigator.BuilderviewClass - The View class whose instance should be used as the access denied viewpublic SpringViewNavigator build()
SpringViewNavigator.Builderbuild in interface SpringViewNavigator.Builderpublic DefaultSpringViewNavigator buildInternal()
Copyright © 2019 The Holon Platform. All rights reserved.