Package org.apache.myfaces.context
Class RequestViewContext
java.lang.Object
org.apache.myfaces.context.RequestViewContext
- Since:
- 2.0.2
- Version:
- $Revision$ $Date$
- Author:
- Leonardo Uribe (latest modification by $Author$)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestViewContext
static RequestViewContext
static RequestViewContext
getCurrentInstance
(FacesContext ctx, UIViewRoot root) static RequestViewContext
getCurrentInstance
(FacesContext ctx, UIViewRoot root, boolean create) getRenderTargetComponentList
(String target) boolean
isClassAlreadyProcessed
(Class<?> inspectedClass) boolean
isRenderTarget
(String target) boolean
static RequestViewContext
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.void
setClassProcessed
(Class<?> inspectedClass) static void
setCurrentInstance
(FacesContext ctx, UIViewRoot root, RequestViewContext rvc) void
setRenderTarget
(String target, boolean value, UIComponent component) void
setRequestViewMetadata
(RequestViewMetadata requestViewMetadata) void
setResourceDependencyAsProcessed
(ResourceDependency dependency)
-
Field Details
-
VIEW_CONTEXT_KEY
- See Also:
-
RESOURCE_DEPENDENCY_INSPECTED_CLASS
- See Also:
-
-
Constructor Details
-
RequestViewContext
public RequestViewContext() -
RequestViewContext
-
-
Method Details
-
getCurrentInstance
-
getCurrentInstance
-
getCurrentInstance
-
getCurrentInstance
public static RequestViewContext getCurrentInstance(FacesContext ctx, UIViewRoot root, boolean create) -
newInstance
-
setCurrentInstance
-
isResourceDependencyAlreadyProcessed
-
setResourceDependencyAsProcessed
-
isClassAlreadyProcessed
-
setClassProcessed
-
isRenderTarget
-
setRenderTarget
-
getRenderTargetComponentList
-
refreshRequestViewContext
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
-
-
getRequestViewMetadata
-
setRequestViewMetadata
-