Class RequestViewContext


  • public class RequestViewContext
    extends Object
    Since:
    2.0.2
    Version:
    $Revision$ $Date$
    Author:
    Leonardo Uribe (latest modification by $Author$)
    • Constructor Detail

      • RequestViewContext

        public RequestViewContext()
    • Method Detail

      • isResourceDependencyAlreadyProcessed

        public boolean isResourceDependencyAlreadyProcessed​(ResourceDependency dependency)
      • setResourceDependencyAsProcessed

        public void setResourceDependencyAsProcessed​(ResourceDependency dependency)
      • isClassAlreadyProcessed

        public boolean isClassAlreadyProcessed​(Class<?> inspectedClass)
      • setClassProcessed

        public void setClassProcessed​(Class<?> inspectedClass)
      • isRenderTarget

        public boolean isRenderTarget​(String target)
      • setRenderTarget

        public void setRenderTarget​(String target,
                                    boolean value,
                                    UIComponent component)
      • getRenderTargetComponentList

        public List<UIComponent> getRenderTargetComponentList​(String target)
      • refreshRequestViewContext

        public void refreshRequestViewContext​(FacesContext facesContext,
                                              UIViewRoot root)
        Scans UIViewRoot facets with added component resources by the effect of ResourceDependency annotation, and register the associated inspected classes so new component resources will not be added to the component tree again and again.
        Parameters:
        facesContext -
        root -
      • setRequestViewMetadata

        public void setRequestViewMetadata​(RequestViewMetadata requestViewMetadata)