org.omnifaces.context
Class OmniPartialViewContextFactory

java.lang.Object
  extended by javax.faces.context.PartialViewContextFactory
      extended by org.omnifaces.context.OmniPartialViewContextFactory
All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.context.PartialViewContextFactory>

public class OmniPartialViewContextFactory
extends javax.faces.context.PartialViewContextFactory

This partial view context factory takes care that the OmniPartialViewContext is properly initialized.

Since:
1.2
Author:
Bauke Scholtz
See Also:
OmniPartialViewContext

Constructor Summary
OmniPartialViewContextFactory(javax.faces.context.PartialViewContextFactory wrapped)
          Construct a new OmniFaces partial view context factory around the given wrapped factory.
 
Method Summary
 javax.faces.context.PartialViewContext getPartialViewContext(javax.faces.context.FacesContext context)
          Returns a new instance of OmniPartialViewContext which wraps the original partial view context.
 javax.faces.context.PartialViewContextFactory getWrapped()
          Returns the wrapped factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OmniPartialViewContextFactory

public OmniPartialViewContextFactory(javax.faces.context.PartialViewContextFactory wrapped)
Construct a new OmniFaces partial view context factory around the given wrapped factory.

Parameters:
wrapped - The wrapped factory.
Method Detail

getPartialViewContext

public javax.faces.context.PartialViewContext getPartialViewContext(javax.faces.context.FacesContext context)
Returns a new instance of OmniPartialViewContext which wraps the original partial view context.

Specified by:
getPartialViewContext in class javax.faces.context.PartialViewContextFactory

getWrapped

public javax.faces.context.PartialViewContextFactory getWrapped()
Returns the wrapped factory.

Specified by:
getWrapped in interface javax.faces.FacesWrapper<javax.faces.context.PartialViewContextFactory>
Overrides:
getWrapped in class javax.faces.context.PartialViewContextFactory