public class PreDestroyViewMapEvent extends ComponentSystemEvent
This event must be published by a call
to Application.publishEvent(javax.faces.context.FacesContext, java.lang.Class<? extends javax.faces.event.SystemEvent>, java.lang.Object)
when the
clear
method is called on the map returned from UIViewRoot.getViewMap()
.
Constructor and Description |
---|
PreDestroyViewMapEvent(FacesContext facesContext,
UIViewRoot root)
Instantiate a new
|
PreDestroyViewMapEvent(UIViewRoot root)
Instantiate a new
|
getComponent, isAppropriateListener, processListener
getFacesContext
public PreDestroyViewMapEvent(UIViewRoot root)
Instantiate a new
ViewMapDestroydEvent
that indicates the argument
root
just had its associated view map destroyed.
root
- the UIViewRoot
for which the view map has
just been destroyed.java.lang.IllegalArgumentException
- if the argument is null
.public PreDestroyViewMapEvent(FacesContext facesContext, UIViewRoot root)
Instantiate a new
ViewMapDestroydEvent
that indicates the argument
root
just had its associated view map destroyed.
facesContext
- the Faces context.root
- the UIViewRoot
for which the view map has
just been destroyed.java.lang.IllegalArgumentException
- if the argument is null
.