| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ConcurrentMap | |
| private final AtomicBoolean | |
| private final AtomicBoolean | |
| private final ServletContextFacesContextFactory |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | Returns: true if the currentKeyrent execution falls into the special initialization case.the currentKeyrent FacesContext for this request facesContext)This method is used to detect the following special initialization case. |
| pack-priv FactoryFinderInstance | |
| pack-priv FactoryFinderInstance | |
| private FactoryFinderInstance | |
| pack-priv Object | |
| pack-priv Object | getServletContextForCurrentClassLoader()
Uses the FactoryManagerCacheKey system to find the ServletContext associated with the current ClassLoader, if any. |
| pack-priv void | |
| pack-priv void |
| factoryFinderMap | back to summary |
|---|---|
| pack-priv ConcurrentMap<CurrentThreadToServletContext. | |
| logNonNullFacesContext | back to summary |
|---|---|
| private final AtomicBoolean logNonNullFacesContext | |
| logNullFacesContext | back to summary |
|---|---|
| private final AtomicBoolean logNullFacesContext | |
| servletContextFacesContextFactory | back to summary |
|---|---|
| private final ServletContextFacesContextFactory servletContextFacesContextFactory | |
| CurrentThreadToServletContext | back to summary |
|---|---|
| pack-priv CurrentThreadToServletContext() | |
| detectSpecialInitializationCase | back to summary |
|---|---|
| private boolean detectSpecialInitializationCase(FacesContext facesContext) This method is used to detect the following special initialization case. IF no FactoryFinderInstance can be found for key, AND this call to getApplicationFactoryFinderInstance() *does* have a currentKeyrent FacesContext BUT a previous call to getApplicationFactoryFinderInstance *did not* have a currentKeyrent FacesContext
| |
| getFactoryFinder | back to summary |
|---|---|
| pack-priv FactoryFinderInstance getFactoryFinder() | |
| getFactoryFinder | back to summary |
|---|---|
| pack-priv FactoryFinderInstance getFactoryFinder(boolean create) | |
| getFactoryFinder | back to summary |
|---|---|
| private FactoryFinderInstance getFactoryFinder(ClassLoader classLoader, boolean create) | |
| getFallbackFactory | back to summary |
|---|---|
| pack-priv Object getFallbackFactory(FactoryFinderInstance brokenFactoryManager, String factoryName) | |
| getServletContextForCurrentClassLoader | back to summary |
|---|---|
| pack-priv Object getServletContextForCurrentClassLoader() Uses the FactoryManagerCacheKey system to find the ServletContext associated with the current ClassLoader, if any. | |
| removeFactoryFinder | back to summary |
|---|---|
| pack-priv void removeFactoryFinder() | |
| resetSpecialInitializationCaseFlags | back to summary |
|---|---|
| pack-priv void resetSpecialInitializationCaseFlags() | |
| Modifier and Type | Field and Description |
|---|---|
| private ClassLoader | classLoader
The ClassLoader that is active the first time this key is created. |
| private Object | context
The ServletContext corresponding to this marker/ClassLoader pair. |
| private static final String | |
| private Long | marker
A marker that disambiguates the case when multiple web apps have the same web app ClassLoader but different ServletContext instances. |
| private static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | FactoryFinderCacheKey(FacesContext facesContext, ClassLoader classLoaderIn, Map<CurrentThreadToServletContext.
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| private ClassLoader | |
| pack-priv ClassLoader | |
| pack-priv Object | |
| public int | |
| private void | |
| private void | initFromFactoryMap(ClassLoader classLoaderIn, Map<CurrentThreadToServletContext.
|
| private ClassLoader | resolveToFirstTimeUsedClassLoader(ClassLoader classLoaderToResolve, ExternalContext extContext)
Resolve the argument ClassLoader to be the ClassLoader that was passed in to the ctor the first time a FactoryManagerCacheKey was created for this web app. |
| classLoader | back to summary |
|---|---|
| private ClassLoader classLoader The ClassLoader that is active the first time this key is created. At startup time, this is assumed to be the web app ClassLoader | |
| context | back to summary |
|---|---|
| private Object context The ServletContext corresponding to this marker/ClassLoader pair. | |
| INIT_TIME_CL_KEY | back to summary |
|---|---|
| private static final String INIT_TIME_CL_KEY | |
| marker | back to summary |
|---|---|
| private Long marker A marker that disambiguates the case when multiple web apps have the same web app ClassLoader but different ServletContext instances. | |
| MARKER_KEY | back to summary |
|---|---|
| private static final String MARKER_KEY | |
| FactoryFinderCacheKey | back to summary |
|---|---|
| pack-priv FactoryFinderCacheKey(FacesContext facesContext, ClassLoader classLoaderIn, Map<CurrentThreadToServletContext. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| findMatchConsideringParentClassLoader | back to summary |
|---|---|
| private ClassLoader findMatchConsideringParentClassLoader(ClassLoader argumentClassLoader, ClassLoader currentKeyCL) | |
| getClassLoader | back to summary |
|---|---|
| pack-priv ClassLoader getClassLoader() | |
| getContext | back to summary |
|---|---|
| pack-priv Object getContext() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| initFromApplicationMap | back to summary |
|---|---|
| private void initFromApplicationMap(ExternalContext extContext, ClassLoader classLoaderIn) | |
| initFromFactoryMap | back to summary |
|---|---|
| private void initFromFactoryMap(ClassLoader classLoaderIn, Map<CurrentThreadToServletContext. | |
| resolveToFirstTimeUsedClassLoader | back to summary |
|---|---|
| private ClassLoader resolveToFirstTimeUsedClassLoader(ClassLoader classLoaderToResolve, ExternalContext extContext) Resolve the argument ClassLoader to be the ClassLoader that was passed in to the ctor the first time a FactoryManagerCacheKey was created for this web app. | |