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.
| Modifier and Type | Field and Description |
|---|---|
| private PartialViewContextFactory |
| Access | Constructor and Description |
|---|---|
| public | PartialViewContextFactory()
Deprecated
Use the other constructor taking the implementation being wrapped.
|
| public | PartialViewContextFactory(PartialViewContextFactory
The implementation being wrapped. wrapped)If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public abstract PartialViewContext | Returns: thePartialViewContext as specified abovethe context)FacesContext for the current request.
Create (if needed) and return a |
| public PartialViewContextFactory | getWrapped()
Implements jakarta. If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. |
| wrapped | back to summary |
|---|---|
| private PartialViewContextFactory wrapped | |
| PartialViewContextFactory | back to summary |
|---|---|
| public PartialViewContextFactory()
Deprecated Use the other constructor taking the implementation being wrapped.
| |
| PartialViewContextFactory | back to summary |
|---|---|
| public PartialViewContextFactory(PartialViewContextFactory wrapped)
If this factory has been decorated, the implementation doing the decorating should push the implementation being
wrapped to this constructor. The
| |
| getPartialViewContext | back to summary |
|---|---|
| public abstract PartialViewContext getPartialViewContext(FacesContext context)
Create (if needed) and return a
| |
| getWrapped | back to summary |
|---|---|
| public PartialViewContextFactory getWrapped() Implements jakarta. If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
| |