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.
source
Constructor and Description |
---|
PreClearFlashEvent(FacesContext facesContext,
Map<String,Object> source)
Instantiate a new |
PreClearFlashEvent(Map<String,Object> source)
Instantiate a new |
getFacesContext, isAppropriateListener, processListener
getSource, toString
public PreClearFlashEvent(Map<String,Object> source)
Instantiate a new PreClearFlashEvent
that indicates the argument key
was just put to the
flash.
source
- Map containing the values about to be cleared This need not be the actual
Flash
instance.IllegalArgumentException
- if the argument is null
.public PreClearFlashEvent(FacesContext facesContext, Map<String,Object> source)
Instantiate a new PreClearFlashEvent
that indicates the argument key
was just put to the
flash.
facesContext
- the Faces context.source
- Map containing the values about to be cleared This need not be the actual
Flash
instance.IllegalArgumentException
- if the argument is null
.Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.