Class PrimeFacesContextFactory

  • All Implemented Interfaces:
    javax.faces.FacesWrapper<javax.faces.context.FacesContextFactory>

    public class PrimeFacesContextFactory
    extends javax.faces.context.FacesContextFactory
    FacesContextFactory to wrap the FacesContext with our PrimeFacesContext.
    • Constructor Detail

      • PrimeFacesContextFactory

        public PrimeFacesContextFactory()
      • PrimeFacesContextFactory

        public PrimeFacesContextFactory​(javax.faces.context.FacesContextFactory wrapped)
    • Method Detail

      • getFacesContext

        public javax.faces.context.FacesContext getFacesContext​(Object context,
                                                                Object request,
                                                                Object response,
                                                                javax.faces.lifecycle.Lifecycle lifecycle)
                                                         throws javax.faces.FacesException
        Specified by:
        getFacesContext in class javax.faces.context.FacesContextFactory
        Throws:
        javax.faces.FacesException
      • getWrapped

        public javax.faces.context.FacesContextFactory getWrapped()
        Specified by:
        getWrapped in interface javax.faces.FacesWrapper<javax.faces.context.FacesContextFactory>
        Overrides:
        getWrapped in class javax.faces.context.FacesContextFactory