org.apache.myfaces.application
Class BackwardsCompatibleNavigationHandlerWrapper
java.lang.Object
javax.faces.application.NavigationHandler
javax.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: 916247 $ $Date: 2010-02-25 06:00:37 -0500 (Thu, 25 Feb 2010) $
- Author:
- Jakob Korherr (latest modification by $Author: jakobk $)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BackwardsCompatibleNavigationHandlerWrapper
public BackwardsCompatibleNavigationHandlerWrapper(NavigationHandler wrapped,
ConfigurableNavigationHandler doubleWrapped)
getNavigationCase
public NavigationCase getNavigationCase(FacesContext context,
String fromAction,
String outcome)
- Specified by:
getNavigationCase
in class ConfigurableNavigationHandler
getNavigationCases
public Map<String,Set<NavigationCase>> getNavigationCases()
- Specified by:
getNavigationCases
in class ConfigurableNavigationHandler
handleNavigation
public void handleNavigation(FacesContext context,
String fromAction,
String outcome)
- Specified by:
handleNavigation
in class NavigationHandler
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.