| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final Map | |
| private static final Map | factoryClasses
Map of Class instances for our factory names. |
| private static final List | factoryNames
The set of Jakarta Faces factory classes for which the factory discovery mechanism is supported. |
| private static final String | |
| private final ReentrantReadWriteLock | |
| private static final Logger | |
| private final Map | |
| private ServletContextFacesContextFactory |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| private static <T extends Comparable | |
| private static Map | |
| pack-priv void | |
| private void | |
| pack-priv Collection | |
| pack-priv Object | |
| private Class | |
| private Object | getImplementationInstance(ClassLoader
Class loader for the web application that will be loading the implementation class classLoader, String factoryName, List<String> A List of implementations for a given factory class. implementations)Load and return an instance of the specified implementation class using the following algorithm. |
| private Object | getImplGivenPreviousImpl(ClassLoader
the ClassLoader from which to load the class classLoader, String the fully qualified class name of the factory. factoryName, String the fully qualified class name of a class that implements the factory. factoryImplClassName, Object if non- previousFactoryImplementation)null, the factory instance to be passed to the constructor
of the new factory.Implement the decorator pattern for the factory implementation. |
| private List | getImplNameFromServices(ClassLoader classLoader, String factoryName)
Perform the logic to get the implementation class for the second step of
|
| pack-priv InjectionProvider | |
| private void | |
| private void | |
| private void | |
| private void | |
| private String | |
| pack-priv void | |
| public String | |
| private void |
| createdBy | back to summary |
|---|---|
| private final String createdBy | |
| factories | back to summary |
|---|---|
| private final Map<String, Object> factories | |
| factoryClasses | back to summary |
|---|---|
| private static final Map<String, Class<?>> factoryClasses Map of Class instances for our factory names. | |
| factoryNames | back to summary |
|---|---|
| private static final List<String> factoryNames The set of Jakarta Faces factory classes for which the factory discovery mechanism is supported. The entries in this list must be alphabetically ordered according to the entire string of the *value* of each of the literals, not just the last part of the literal! | |
| INJECTION_PROVIDER_KEY | back to summary |
|---|---|
| private static final String INJECTION_PROVIDER_KEY | |
| lock | back to summary |
|---|---|
| private final ReentrantReadWriteLock lock | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| savedFactoryNames | back to summary |
|---|---|
| private final Map<String, List<String>> savedFactoryNames | |
| servletContextFinder | back to summary |
|---|---|
| private ServletContextFacesContextFactory servletContextFinder | |
| FactoryFinderInstance | back to summary |
|---|---|
| pack-priv FactoryFinderInstance(FacesContext facesContext) | |
| FactoryFinderInstance | back to summary |
|---|---|
| pack-priv FactoryFinderInstance(FacesContext facesContext, FactoryFinderInstance toCopy) | |
| addFactory | back to summary |
|---|---|
| pack-priv void addFactory(String factoryName, String implementationClassName) | |
| asSortedList | back to summary |
|---|---|
private static <T extends Comparable
| |
| buildFactoryClassesMap | back to summary |
|---|---|
| private static Map | |
| clearInjectionProvider | back to summary |
|---|---|
| pack-priv void clearInjectionProvider() | |
| copyInjectionProviderFromFacesContext | back to summary |
|---|---|
| private void copyInjectionProviderFromFacesContext(FacesContext facesContext) | |
| getFactories | back to summary |
|---|---|
| pack-priv Collection | |
| getFactory | back to summary |
|---|---|
pack-priv Object getFactory(String factoryName)
| |
| getFactoryClass | back to summary |
|---|---|
private Class
| |
| getImplementationInstance | back to summary |
|---|---|
| private Object getImplementationInstance(ClassLoader classLoader, String factoryName, List<String> implementations) throws FacesException Load and return an instance of the specified implementation class using the following algorithm.
| |
| getImplGivenPreviousImpl | back to summary |
|---|---|
| private Object getImplGivenPreviousImpl(ClassLoader classLoader, String factoryName, String factoryImplClassName, Object previousFactoryImplementation) Implement the decorator pattern for the factory implementation.
If
Otherwise, we just instantiate and return
| |
| getImplNameFromServices | back to summary |
|---|---|
| private List
Perform the logic to get the implementation class for the second step of
| |
| getInjectionProvider | back to summary |
|---|---|
| pack-priv InjectionProvider getInjectionProvider() | |
| injectImplementation | back to summary |
|---|---|
| private void injectImplementation(String implementationName, Object implementation) | |
| logNoFactory | back to summary |
|---|---|
| private void logNoFactory(String factoryName) | |
| logPreDestroyFail | back to summary |
|---|---|
| private void logPreDestroyFail(Object factory, Exception ex) | |
| notNullFactory | back to summary |
|---|---|
| private void notNullFactory(String factoryName, Object factory) | |
| readLineFromStream | back to summary |
|---|---|
| private String readLineFromStream(InputStream stream) throws IOException | |
| releaseFactories | back to summary |
|---|---|
| pack-priv void releaseFactories() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| validateFactoryName | back to summary |
|---|---|
| private void validateFactoryName(String factoryName) | |