Class PartialViewContextFactory

java.lang.Object
jakarta.faces.context.PartialViewContextFactory
All Implemented Interfaces:
FacesWrapper<PartialViewContextFactory>
Direct Known Subclasses:
PartialViewContextFactoryImpl

public abstract class PartialViewContextFactory
extends Object
implements FacesWrapper<PartialViewContextFactory>

PartialViewContextFactory is a factory object that creates (if needed) and returns new PartialViewContext instances.

There must be one PartialViewContextFactory instance per web application that is utilizing Jakarta Server Faces. This instance can be acquired, in a portable manner, by calling:

 PartialViewContextFactory factory = (PartialViewContextFactory) FactoryFinder.getFactory(FactoryFinder.PARTIAL_VIEW_CONTEXT_FACTORY);
 

Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped() to access the instance being wrapped.

Since:
2.0