Class StateManagementStrategy

java.lang.Object
jakarta.faces.view.StateManagementStrategy
Direct Known Subclasses:
FaceletFullStateManagementStrategy, FaceletPartialStateManagementStrategy

public abstract class StateManagementStrategy extends Object

Encapsulate the saving and restoring of the view to enable the VDL to take over the responsibility for handling this feature.

Implementations must call UIComponent.visitTree(jakarta.faces.component.visit.VisitContext, jakarta.faces.component.visit.VisitCallback) on the UIViewRoot to perform the saving and restoring of the view in the saveView(jakarta.faces.context.FacesContext) and restoreView(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String) methods, respectively.

Since:
2.0