Package javax.faces.event
Class PreDestroyViewMapEvent
java.lang.Object
java.util.EventObject
javax.faces.event.SystemEvent
javax.faces.event.ComponentSystemEvent
javax.faces.event.PreDestroyViewMapEvent
- All Implemented Interfaces:
Serializable
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()
.
- Since:
- 2.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionInstantiate 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 javax.faces.event.ComponentSystemEvent
getComponent, isAppropriateListener, processListener
Methods inherited from class javax.faces.event.SystemEvent
getFacesContext
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PreDestroyViewMapEvent
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
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
.
-