- java.lang.Object
- 
- jakarta.faces.context.ExternalContextFactory
- 
- org.omnifaces.context.OmniExternalContextFactory
 
 
- 
- All Implemented Interfaces:
- FacesWrapper<ExternalContextFactory>
 
 public class OmniExternalContextFactory extends ExternalContextFactory This external context factory takes care that theOmniExternalContextis properly initialized.- Since:
- 2.2
- Author:
- Bauke Scholtz
- See Also:
- OmniExternalContext
 
- 
- 
Constructor SummaryConstructors Constructor Description OmniExternalContextFactory(ExternalContextFactory wrapped)Construct a new OmniFaces external context factory around the given wrapped factory.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalContextgetExternalContext(Object context, Object request, Object response)Returns a new instance ofOmniExternalContextwhich wraps the original external context.- 
Methods inherited from class jakarta.faces.context.ExternalContextFactorygetWrapped
 
- 
 
- 
- 
- 
Constructor Detail- 
OmniExternalContextFactorypublic OmniExternalContextFactory(ExternalContextFactory wrapped) Construct a new OmniFaces external context factory around the given wrapped factory.- Parameters:
- wrapped- The wrapped factory.
 
 
- 
 - 
Method Detail- 
getExternalContextpublic ExternalContext getExternalContext(Object context, Object request, Object response) Returns a new instance ofOmniExternalContextwhich wraps the original external context.- Specified by:
- getExternalContextin class- ExternalContextFactory
 
 
- 
 
-