Package com.vaadin.flow.router
Interface BeforeEnterListener
-
- All Superinterfaces:
BeforeEnterHandler
,Serializable
- All Known Implementing Classes:
ViewAccessChecker
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface BeforeEnterListener extends BeforeEnterHandler
A listener that may be added to theUI
usingUI.addBeforeEnterListener(BeforeEnterListener)
.All listeners added this way will be informed when a new set of components are going to be attached to the
UI
.During this phase there is the possibility to reroute to another navigation target. All BeforeEnterListeners will be executed before the BeforeEnterObservers. To control the order of execution of BeforeEnterListeners, see
ListenerPriority
- Since:
- 1.0
-
-
Method Summary
-
Methods inherited from interface com.vaadin.flow.router.internal.BeforeEnterHandler
beforeEnter
-
-