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()
.
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 © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.