Package javax.faces.event
Class PreClearFlashEvent
- java.lang.Object
-
- java.util.EventObject
-
- javax.faces.event.SystemEvent
-
- javax.faces.event.PreClearFlashEvent
-
public class PreClearFlashEvent extends SystemEvent
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)
before the flash is cleared.- Since:
- 2.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PreClearFlashEvent(java.util.Map<java.lang.String,java.lang.Object> source)
Instantiate a newPreClearFlashEvent
that indicates the argumentkey
was just put to the flash.PreClearFlashEvent(FacesContext facesContext, java.util.Map<java.lang.String,java.lang.Object> source)
Instantiate a newPreClearFlashEvent
that indicates the argumentkey
was just put to the flash.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class javax.faces.event.SystemEvent
getFacesContext, isAppropriateListener, processListener
-
-
-
-
Constructor Detail
-
PreClearFlashEvent
public PreClearFlashEvent(java.util.Map<java.lang.String,java.lang.Object> source)
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:
java.lang.IllegalArgumentException
- if the argument isnull
.
-
PreClearFlashEvent
public PreClearFlashEvent(FacesContext facesContext, java.util.Map<java.lang.String,java.lang.Object> source)
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:
java.lang.IllegalArgumentException
- if the argument isnull
.
-
-