Class VisitContextFactory

    • Constructor Detail

      • VisitContextFactory

        @Deprecated
        public VisitContextFactory()
        Deprecated.
        Use the other constructor taking the implementation being wrapped.
      • VisitContextFactory

        public VisitContextFactory​(VisitContextFactory wrapped)

        If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The getWrapped() will then return the implementation being wrapped.

        Parameters:
        wrapped - The implementation being wrapped.
    • Method Detail

      • getWrapped

        public VisitContextFactory getWrapped()

        If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.

        Specified by:
        getWrapped in interface FacesWrapper<VisitContextFactory>
        Returns:
        the wrapped instance.
      • getVisitContext

        public abstract VisitContext getVisitContext​(FacesContext context,
                                                     Collection<String> ids,
                                                     Set<VisitHint> hints)

        Return a new VisitContext instance.

        Parameters:
        context - the FacesContext for this request.
        ids - a Collection of clientIds to visit. If null all components will be visited.
        hints - the VisitHints that apply to this visit.
        Returns:
        the instance of VisitContext.
        Since:
        2.0