Package org.apache.myfaces.application
Class BackwardsCompatibleNavigationHandlerWrapper
- java.lang.Object
- 
- jakarta.faces.application.NavigationHandler
- 
- jakarta.faces.application.ConfigurableNavigationHandler
- 
- org.apache.myfaces.application.BackwardsCompatibleNavigationHandlerWrapper
 
 
 
- 
 public class BackwardsCompatibleNavigationHandlerWrapper extends ConfigurableNavigationHandler This class is used as a double wrapper for NavigationHandler and ConfigurableNavigationHandler to be backwards compatible to the pre JSF 2.0 NavigationHandlers which are not ConfigurableNavigationHandlers (since JSF 2.0 the standard NavigationHandler implementation has to inherit from ConfigurableNavigationHandler). It just passes through handleNavigation() to the wrapped NavigationHandler and getNavigationCase() and getNavigationCases() to the wrapped ConfigurableNavigationHandler.- Version:
- $Revision$ $Date$
- Author:
- Jakob Korherr (latest modification by $Author$)
 
- 
- 
Constructor SummaryConstructors Constructor Description BackwardsCompatibleNavigationHandlerWrapper(NavigationHandler wrapped, ConfigurableNavigationHandler doubleWrapped)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description NavigationCasegetNavigationCase(FacesContext context, String fromAction, String outcome)Map<String,Set<NavigationCase>>getNavigationCases()voidhandleNavigation(FacesContext context, String fromAction, String outcome)- 
Methods inherited from class jakarta.faces.application.ConfigurableNavigationHandlergetNavigationCase, inspectFlow, performNavigation
 - 
Methods inherited from class jakarta.faces.application.NavigationHandlerhandleNavigation
 
- 
 
- 
- 
- 
Constructor Detail- 
BackwardsCompatibleNavigationHandlerWrapperpublic BackwardsCompatibleNavigationHandlerWrapper(NavigationHandler wrapped, ConfigurableNavigationHandler doubleWrapped) 
 
- 
 - 
Method Detail- 
getNavigationCasepublic NavigationCase getNavigationCase(FacesContext context, String fromAction, String outcome) - Specified by:
- getNavigationCasein class- ConfigurableNavigationHandler
 
 - 
getNavigationCasespublic Map<String,Set<NavigationCase>> getNavigationCases() - Specified by:
- getNavigationCasesin class- ConfigurableNavigationHandler
 
 - 
handleNavigationpublic void handleNavigation(FacesContext context, String fromAction, String outcome) - Specified by:
- handleNavigationin class- NavigationHandler
 
 
- 
 
-