Package jakarta.faces.event
Class PreDestroyViewMapEvent
- java.lang.Object
-
- java.util.EventObject
-
- jakarta.faces.event.SystemEvent
-
- jakarta.faces.event.ComponentSystemEvent
-
- jakarta.faces.event.PreDestroyViewMapEvent
-
- All Implemented Interfaces:
Serializable
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 theclear
method is called on the map returned fromUIViewRoot.getViewMap()
.- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description PreDestroyViewMapEvent(UIViewRoot root)
Instantiate a newViewMapDestroydEvent
that indicates the argumentroot
just had its associated view map destroyed.PreDestroyViewMapEvent(FacesContext facesContext, UIViewRoot root)
Instantiate a newViewMapDestroydEvent
that indicates the argumentroot
just had its associated view map destroyed.
-
Method Summary
-
Methods inherited from class jakarta.faces.event.ComponentSystemEvent
getComponent, isAppropriateListener, processListener
-
Methods inherited from class jakarta.faces.event.SystemEvent
getFacesContext
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
PreDestroyViewMapEvent
public PreDestroyViewMapEvent(UIViewRoot root)
Instantiate a new
ViewMapDestroydEvent
that indicates the argumentroot
just had its associated view map destroyed.- Parameters:
root
- theUIViewRoot
for which the view map has just been destroyed.- Throws:
IllegalArgumentException
- if the argument isnull
.
-
PreDestroyViewMapEvent
public PreDestroyViewMapEvent(FacesContext facesContext, UIViewRoot root)
Instantiate a new
ViewMapDestroydEvent
that indicates the argumentroot
just had its associated view map destroyed.- Parameters:
facesContext
- the Faces context.root
- theUIViewRoot
for which the view map has just been destroyed.- Throws:
IllegalArgumentException
- if the argument isnull
.
-
-