Class PreDestroyViewMapEvent

All Implemented Interfaces:
Serializable

public class PreDestroyViewMapEvent extends ComponentSystemEvent

This event must be published by a call to Application.publishEvent(FacesContext, Class, Object) when the clear method is called on the map returned from UIViewRoot.getViewMap().

Since:
2.0
See Also:
  • Constructor Details

    • PreDestroyViewMapEvent

      public PreDestroyViewMapEvent(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.
    • PreDestroyViewMapEvent

      public PreDestroyViewMapEvent(FacesContext facesContext, UIViewRoot root)

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

      Parameters:
      facesContext - the Faces context.
      root - the UIViewRoot for which the view map has just been destroyed.
      Throws:
      IllegalArgumentException - if the argument is null.