| Modifier and Type | Field and Description |
|---|---|
| private ThreadLocal | |
| private ConcurrentHashMap | |
| private ConcurrentHashMap | |
| private static final Logger | |
| pack-priv static final String | |
| pack-priv static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public FacesContext | getFacesContext(Object
In servlet environments, the
context, Object ServletContext that is associated with this web
applicationIn servlet environments, the
request, Object ServletRequest that is to be processedIn servlet environments, the
response, Lifecycle ServletResponse that is to be processedThe lifecycle)Lifecycle instance being used
to process this requestImplements abstract javax. |
| pack-priv FacesContext | getFacesContextWithoutServletContextLookup()
This method does what FacesContext.getCurrentInstance() did *before* the fix for Bug 20458755. |
| facesContextCurrentInstance | back to summary |
|---|---|
| private ThreadLocal<FacesContext> facesContextCurrentInstance | |
| facesContextThreadInitContextMap | back to summary |
|---|---|
| private ConcurrentHashMap<Thread, FacesContext> facesContextThreadInitContextMap | |
| initContextServletContextMap | back to summary |
|---|---|
| private ConcurrentHashMap<FacesContext, ServletContext> initContextServletContextMap | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| SERVLET_CONTEXT_FINDER_NAME | back to summary |
|---|---|
| pack-priv static final String SERVLET_CONTEXT_FINDER_NAME | |
| SERVLET_CONTEXT_FINDER_REMOVAL_NAME | back to summary |
|---|---|
| pack-priv static final String SERVLET_CONTEXT_FINDER_REMOVAL_NAME | |
| ServletContextFacesContextFactory | back to summary |
|---|---|
pack-priv ServletContextFacesContextFactory()
| |
| getFacesContext | back to summary |
|---|---|
| public FacesContext getFacesContext(Object context, Object request, Object response, Lifecycle lifecycle) throws FacesException Implements abstract javax. Consult the initContextServletContextMap (reflectively obtained from the FacesContext in our ctor). If it is non-empty, obtain the ServletContext corresponding to the current Thread's context ClassLoader. If found, use the initContextServletContextMap to find the FacesContext corresponding to that ServletContext.
| |
| getFacesContextWithoutServletContextLookup | back to summary |
|---|---|
| pack-priv FacesContext getFacesContextWithoutServletContextLookup() This method does what FacesContext.getCurrentInstance() did *before* the fix for Bug 20458755. | |