java.lang.Object
jakarta.faces.context.ExternalContextFactory
org.omnifaces.context.OmniExternalContextFactory
- All Implemented Interfaces:
FacesWrapper<ExternalContextFactory>
This external context factory takes care that the
OmniExternalContext is properly initialized.- Since:
- 2.2
- Author:
- Bauke Scholtz
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new OmniFaces external context factory around the given wrapped factory. -
Method Summary
Modifier and TypeMethodDescriptiongetExternalContext(Object context, Object request, Object response) Returns a new instance ofOmniExternalContextwhich wraps the original external context.Methods inherited from class jakarta.faces.context.ExternalContextFactory
getWrapped
-
Constructor Details
-
OmniExternalContextFactory
Construct a new OmniFaces external context factory around the given wrapped factory.- Parameters:
wrapped- The wrapped factory.
-
-
Method Details
-
getExternalContext
Returns a new instance ofOmniExternalContextwhich wraps the original external context.- Specified by:
getExternalContextin classExternalContextFactory
-