de.mindmatters.faces.application
Class NoStateManager
java.lang.Object
javax.faces.application.StateManager
de.mindmatters.faces.application.AbstractViewBuildingStateManager
de.mindmatters.faces.application.NoStateManager
public final class NoStateManager
- extends AbstractViewBuildingStateManager
NoStateManager does not save the state of
the component tree and will thus not restore the component state.
This StateManager
will work in most cases and should be used to
eliminate any state foot print on the client.
- Author:
- Andreas Kuhrwahl
Constructor Summary |
NoStateManager(StateManager delegate)
Creates an OptimizedStateManager with the given state manager
delegate of the underlying JSF implementation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoStateManager
public NoStateManager(StateManager delegate)
- Creates an OptimizedStateManager with the given state manager
delegate
of the underlying JSF implementation.
- Parameters:
delegate
- the original state manager of the underlying JSF
implementation
getComponentStateToSave
protected java.lang.Object getComponentStateToSave(FacesContext context)
-
- Specified by:
getComponentStateToSave
in class StateManager
restoreComponentState
protected void restoreComponentState(FacesContext context,
UIViewRoot viewRoot,
java.lang.String renderKitId)
-
- Specified by:
restoreComponentState
in class StateManager
Copyright © 2006 mindmatters GmbH & Co. KG