javax.faces.event
Class ViewMapDestroyedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.SystemEvent
          extended by javax.faces.event.ComponentSystemEvent
              extended by 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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ViewMapDestroyedEvent(UIViewRoot root)
          

Instantiate a new ViewMapDestroydEvent that indicates the argument root just had its associated view map destroyed.

 
Method Summary
 
Methods inherited from class javax.faces.event.ComponentSystemEvent
getComponent
 
Methods inherited from class javax.faces.event.SystemEvent
isAppropriateListener, processListener
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.