public class RequestViewContext extends Object
Modifier and Type | Field and Description |
---|---|
static String |
RESOURCE_DEPENDENCY_INSPECTED_CLASS |
static String |
VIEW_CONTEXT_KEY |
Constructor and Description |
---|
RequestViewContext() |
Modifier and Type | Method and Description |
---|---|
static RequestViewContext |
getCurrentInstance() |
static RequestViewContext |
getCurrentInstance(FacesContext ctx) |
static RequestViewContext |
getCurrentInstance(FacesContext ctx,
UIViewRoot root) |
boolean |
isClassAlreadyProcessed(Class<?> inspectedClass) |
boolean |
isRenderTarget(String target) |
boolean |
isResourceDependencyAlreadyProcessed(ResourceDependency dependency) |
void |
refreshRequestViewContext(FacesContext facesContext,
UIViewRoot root)
Scans UIViewRoot facets with added component resources by the effect of
|
void |
setClassProcessed(Class<?> inspectedClass) |
void |
setRenderTarget(String target,
boolean value) |
void |
setResourceDependencyAsProcessed(ResourceDependency dependency) |
public static final String VIEW_CONTEXT_KEY
public static final String RESOURCE_DEPENDENCY_INSPECTED_CLASS
public static RequestViewContext getCurrentInstance()
public static RequestViewContext getCurrentInstance(FacesContext ctx)
public static RequestViewContext getCurrentInstance(FacesContext ctx, UIViewRoot root)
public boolean isResourceDependencyAlreadyProcessed(ResourceDependency dependency)
public void setResourceDependencyAsProcessed(ResourceDependency dependency)
public boolean isClassAlreadyProcessed(Class<?> inspectedClass)
public void setClassProcessed(Class<?> inspectedClass)
public boolean isRenderTarget(String target)
public void setRenderTarget(String target, boolean value)
public void refreshRequestViewContext(FacesContext facesContext, UIViewRoot root)
facesContext
- root
- Copyright © 2016 The Apache Software Foundation. All Rights Reserved.