org.apache.myfaces.context
Class RequestViewContext

java.lang.Object
  extended by org.apache.myfaces.context.RequestViewContext

public class RequestViewContext
extends Object

Since:
2.0.2
Version:
$Revision: 1505865 $ $Date: 2013-07-22 19:19:31 -0500 (Mon, 22 Jul 2013) $
Author:
Leonardo Uribe (latest modification by $Author: lu4242 $)

Field Summary
static String RESOURCE_DEPENDENCY_INSPECTED_CLASS
           
static String VIEW_CONTEXT_KEY
           
 
Constructor Summary
RequestViewContext()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VIEW_CONTEXT_KEY

public static final String VIEW_CONTEXT_KEY
See Also:
Constant Field Values

RESOURCE_DEPENDENCY_INSPECTED_CLASS

public static final String RESOURCE_DEPENDENCY_INSPECTED_CLASS
See Also:
Constant Field Values
Constructor Detail

RequestViewContext

public RequestViewContext()
Method Detail

getCurrentInstance

public static RequestViewContext getCurrentInstance()

getCurrentInstance

public static RequestViewContext getCurrentInstance(FacesContext ctx)

getCurrentInstance

public static RequestViewContext getCurrentInstance(FacesContext ctx,
                                                    UIViewRoot root)

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)

refreshRequestViewContext

public void refreshRequestViewContext(FacesContext facesContext,
                                      UIViewRoot root)
Scans UIViewRoot facets with added component resources by the effect of

Parameters:
facesContext -
root -


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.