Package com.vaadin.cdi.internal
Class ViewContextStrategies.EveryNavigation
java.lang.Object
com.vaadin.cdi.internal.ViewContextStrategies.EveryNavigation
- All Implemented Interfaces:
ViewContextStrategy,Serializable
- Enclosing class:
ViewContextStrategies
public static class ViewContextStrategies.EveryNavigation
extends Object
implements ViewContextStrategy
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninCurrentContext(String viewName, String parameters) Returns whether the active context contains target navigation state.
-
Constructor Details
-
EveryNavigation
public EveryNavigation()
-
-
Method Details
-
inCurrentContext
Description copied from interface:ViewContextStrategyReturns whether the active context contains target navigation state. This method should compare the current navigation state and the one given through the parameters and decide if the current context should be held open or released.- Specified by:
inCurrentContextin interfaceViewContextStrategy- Parameters:
viewName- target navigation view nameparameters- target navigation parameters- Returns:
trueto hold context open;falseto release it
-