Package com.sun.faces.context.flash
Class FlashFactoryImpl
- java.lang.Object
-
- jakarta.faces.context.FlashFactory
-
- com.sun.faces.context.flash.FlashFactoryImpl
-
- All Implemented Interfaces:
FacesWrapper<FlashFactory>
public class FlashFactoryImpl extends FlashFactory
Default implementation ofFlashFactory
.
-
-
Constructor Summary
Constructors Constructor Description FlashFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Flash
getFlash(boolean create)
Create (if needed) and return aFlash
instance for this web application.-
Methods inherited from class jakarta.faces.context.FlashFactory
getWrapped
-
-
-
-
Method Detail
-
getFlash
public Flash getFlash(boolean create)
Description copied from class:FlashFactory
Create (if needed) and return a
Flash
instance for this web application.- Specified by:
getFlash
in classFlashFactory
- Parameters:
create
-true
to create a new instance for this request if necessary;false
to returnnull
if there's no instance in the currentsession
.- Returns:
- the instance of
Flash
.
-
-