protected static class ApplicationContextManager.ComponentContextChangeWrapper extends ApplicationContextChange
ComponentContextChange to be wrapped as a
ApplicationContextChange instance. The implementation simply calls the
suspend and resume methods on the wrapped change object that is passed in.| Constructor and Description |
|---|
ComponentContextChangeWrapper(org.apache.myfaces.trinidad.context.ComponentContextChange wrapped) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.myfaces.trinidad.context.ComponentContextChange |
getWrappedComponentContextChange() |
void |
resume(javax.faces.context.FacesContext context)
Resume a currently suspended context change.
|
void |
suspend(javax.faces.context.FacesContext context)
Suspend the context change and revert back to the application context that existed before this
context change was originally made.
|
String |
toString() |
public ComponentContextChangeWrapper(org.apache.myfaces.trinidad.context.ComponentContextChange wrapped)
public void suspend(javax.faces.context.FacesContext context)
ApplicationContextChangeIt's only valid to suspend a context change that's currently active. The implementation of this method does not need to support a call to suspend a context change that's already suspended.
suspend in class ApplicationContextChangecontext - the FacesContext for the current request.public void resume(javax.faces.context.FacesContext context)
ApplicationContextChangeresume in class ApplicationContextChangecontext - the FacesContextfor the current request.public org.apache.myfaces.trinidad.context.ComponentContextChange getWrappedComponentContextChange()