Class PostKeepFlashValueEvent
java.lang.Object
java.util.EventObject
jakarta.faces.event.SystemEvent
jakarta.faces.event.PostKeepFlashValueEvent
- All Implemented Interfaces:
Serializable
This event must be published by a call to Application.publishEvent(FacesContext, Class, Object) when a value is
kept in the flash.
- Since:
- 2.2
- See Also:
-
Field Summary
Fields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionPostKeepFlashValueEvent(FacesContext facesContext, String key) Instantiate a newPostKeepFlashValueEventthat indicates the argumentkeywas just kept in the flash.Instantiate a newPostKeepFlashValueEventthat indicates the argumentkeywas just kept in the flash. -
Method Summary
Methods inherited from class SystemEvent
getFacesContext, isAppropriateListener, processListenerModifier and TypeMethodDescriptionGet the Faces context.booleanisAppropriateListener(FacesListener listener) Returntrueif thisFacesListeneris an instance of a the appropriate listener class that this event supports.voidprocessListener(FacesListener listener) Broadcast this event instance to the specifiedFacesListener, by whatever mechanism is appropriate.Methods inherited from class EventObject
getSource, toString
-
Constructor Details
-
PostKeepFlashValueEvent
Instantiate a new
PostKeepFlashValueEventthat indicates the argumentkeywas just kept in the flash. If the argument isnull, the literalFlash.NULL_VALUEmust be passed to the superclass constructor.- Parameters:
key- the key in the flash that was just kept.
-
PostKeepFlashValueEvent
Instantiate a new
PostKeepFlashValueEventthat indicates the argumentkeywas just kept in the flash. If the argument isnull, the literalFlash.NULL_VALUEmust be passed to the superclass constructor.- Parameters:
facesContext- the Faces context.key- the key in the flash that was just kept.
-
-
Method Details
-
getKey
-