javax.faces.event
Class ViewMapDestroyedEvent
java.lang.Object
java.util.EventObject
javax.faces.event.SystemEvent
javax.faces.event.ComponentSystemEvent
javax.faces.event.ViewMapDestroyedEvent
- All Implemented Interfaces:
- Serializable
public class ViewMapDestroyedEvent
- extends ComponentSystemEvent
This event must be published by a call
to {javax.faces.application.Application#publishEvent} when the
clear
method is called on the map returned from UIViewRoot.getViewMap()
. This must happen when a call is made to
FacesContext.setViewRoot(javax.faces.component.UIViewRoot)
and the argument
UIViewRoot is different from the current, non-null
UIViewRoot. See FacesContext.setViewRoot(javax.faces.component.UIViewRoot)
for the normative specification of this behavior.
- Since:
- 2.0
- See Also:
- Serialized Form
Constructor Summary |
ViewMapDestroyedEvent(UIViewRoot root)
Instantiate a new
ViewMapDestroydEvent that indicates the argument
root just had its associated view map destroyed. |
ViewMapDestroyedEvent
public ViewMapDestroyedEvent(UIViewRoot root)
Instantiate a new
ViewMapDestroydEvent
that indicates the argument
root
just had its associated view map destroyed.
- Parameters:
root
- the UIViewRoot
for which the view map has
just been destroyed.
- Throws:
IllegalArgumentException
- if the argument is null
.
Copyright © 2002-2008 Sun Microsystems, Inc. All Rights Reserved.