Package org.omnifaces.context
Class OmniPartialViewContextFactory
- java.lang.Object
-
- jakarta.faces.context.PartialViewContextFactory
-
- org.omnifaces.context.OmniPartialViewContextFactory
-
- All Implemented Interfaces:
FacesWrapper<PartialViewContextFactory>
public class OmniPartialViewContextFactory extends PartialViewContextFactory
This partial view context factory takes care that theOmniPartialViewContext
is properly initialized.- Since:
- 1.2
- Author:
- Bauke Scholtz
- See Also:
OmniPartialViewContext
-
-
Constructor Summary
Constructors Constructor Description OmniPartialViewContextFactory(PartialViewContextFactory wrapped)
Construct a new OmniFaces partial view context factory around the given wrapped factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartialViewContext
getPartialViewContext(FacesContext context)
Returns a new instance ofOmniPartialViewContext
which wraps the original partial view context.-
Methods inherited from class jakarta.faces.context.PartialViewContextFactory
getWrapped
-
-
-
-
Constructor Detail
-
OmniPartialViewContextFactory
public OmniPartialViewContextFactory(PartialViewContextFactory wrapped)
Construct a new OmniFaces partial view context factory around the given wrapped factory.- Parameters:
wrapped
- The wrapped factory.
-
-
Method Detail
-
getPartialViewContext
public PartialViewContext getPartialViewContext(FacesContext context)
Returns a new instance ofOmniPartialViewContext
which wraps the original partial view context.- Specified by:
getPartialViewContext
in classPartialViewContextFactory
-
-