javax.faces.component.visit
Class ComponentModificationManager
java.lang.Object
javax.faces.component.visit.ComponentModificationManager
public abstract class ComponentModificationManager
- extends Object
ComponentModificationManager
enables a component instance to track the modifications
made to it during any portion of a single run through the JSF request processing
lifecycle. Though the state in question has nothing to do with the component
state handled by StateManager
. The intended
use case for this class is for components that need to temporarily suspend
processing in order to correctly perform
UIComponent.invokeOnComponent(javax.faces.context.FacesContext, java.lang.String, javax.faces.component.ContextCallback)
or UIComponent.visitTree(javax.faces.component.visit.VisitContext, javax.faces.component.visit.VisitCallback)
, and resume
processing when those methods return.
- Since:
- 2.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentModificationManager
public ComponentModificationManager()
push
public abstract void push(ComponentModification mod)
peek
public abstract ComponentModification peek()
pop
public abstract ComponentModification pop()
suspend
public abstract Collection<ComponentModification> suspend(FacesContext context)
resume
public abstract void resume(FacesContext context,
Collection<ComponentModification> mods)
Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms