public class PreDestroyViewMapEvent extends ComponentSystemEvent
This event must be published by a call to Application.publishEvent(jakarta.faces.context.FacesContext, java.lang.Class<? extends jakarta.faces.event.SystemEvent>, java.lang.Object)
when the
clear
method is called on the map returned from UIViewRoot.getViewMap()
.
source
Constructor and Description |
---|
PreDestroyViewMapEvent(FacesContext facesContext,
UIViewRoot root)
Instantiate a new |
PreDestroyViewMapEvent(UIViewRoot root)
Instantiate a new |
getComponent, isAppropriateListener, processListener
getFacesContext
getSource, toString
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.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.IllegalArgumentException
- if the argument is null
.Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.