Package jakarta.faces.event
Class PreClearFlashEvent
java.lang.Object
java.util.EventObject
jakarta.faces.event.SystemEvent
jakarta.faces.event.PreClearFlashEvent
- All Implemented Interfaces:
Serializable
public class PreClearFlashEvent extends SystemEvent
This event must be published by a call to Application.publishEvent(jakarta.faces.context.FacesContext, java.lang.Class<? extends jakarta.faces.event.SystemEvent>, java.lang.Object)
before the flash
is cleared.
- Since:
- 2.2
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PreClearFlashEvent(FacesContext facesContext, Map<String,Object> source)
Instantiate a newPreClearFlashEvent
that indicates the argumentkey
was just put to the flash.PreClearFlashEvent(Map<String,Object> source)
Instantiate a newPreClearFlashEvent
that indicates the argumentkey
was just put to the flash. -
Method Summary
Methods inherited from class jakarta.faces.event.SystemEvent
getFacesContext, isAppropriateListener, processListener
-
Constructor Details
-
PreClearFlashEvent
Instantiate a new
PreClearFlashEvent
that indicates the argumentkey
was just put to the flash.- Parameters:
source
- Map containing the values about to be cleared This need not be the actualFlash
instance.- Throws:
IllegalArgumentException
- if the argument isnull
.
-
PreClearFlashEvent
Instantiate a new
PreClearFlashEvent
that indicates the argumentkey
was just put to the flash.- Parameters:
facesContext
- the Faces context.source
- Map containing the values about to be cleared This need not be the actualFlash
instance.- Throws:
IllegalArgumentException
- if the argument isnull
.
-