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 JavaServer Faces. This instance can be
acquired, in a portable manner, by calling:
PartialViewContextFactory factory = (PartialViewContextFactory) FactoryFinder.getFactory(FactoryFinder.PARTIAL_VIEW_CONTEXT_FACTORY);
Constructor and Description |
---|
PartialViewContextFactory() |
Modifier and Type | Method and Description |
---|---|
abstract PartialViewContext |
getPartialViewContext(FacesContext context)
Create (if needed)
and return a
PartialViewContext instance that is initialized
using the current FacesContext instance. |
PartialViewContextFactory |
getWrapped()
A class that implements this interface uses this method to return an instance of the class being wrapped. |
public PartialViewContextFactory getWrapped()
FacesWrapper
A class that implements this interface uses this method to return an instance of the class being wrapped.
getWrapped
in interface FacesWrapper<PartialViewContextFactory>
FacesWrapper.getWrapped()
public abstract PartialViewContext getPartialViewContext(FacesContext context)
Create (if needed)
and return a PartialViewContext
instance that is initialized
using the current FacesContext
instance.
context
- the FacesContext
for the current request.Copyright © 2016 JBoss by Red Hat. All rights reserved.