java.lang.Object
com.sun.faces.config.ConfigManager
This class manages the initialization of each web application that uses Faces.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe initialization time FacesContext scoped key under which the InjectionProvider is stored. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigManagercreateInstance(ServletContext servletContext) voiddestroy(ServletContext servletContext, FacesContext facesContext) This method will remove any information about the application.static Map<Class<? extends Annotation>, Set<Class<?>>> static ConfigManagergetInstance(ServletContext servletContext) booleanhasBeenInitialized(ServletContext servletContext) voidinitialize(ServletContext servletContext, InitFacesContext facesContext) This method bootstraps Faces based on the parsed configuration resources.static voidremoveInstance(ServletContext servletContext)  
- 
Field Details
- 
INJECTION_PROVIDER_KEY
The initialization time FacesContext scoped key under which the InjectionProvider is stored. 
 - 
 - 
Constructor Details
- 
ConfigManager
public ConfigManager() 
 - 
 - 
Method Details
- 
createInstance
 - 
getInstance
- Parameters:
 servletContext- the involved servlet context- Returns:
 - a 
ConfigManagerinstance 
 - 
getAnnotatedClasses
- Parameters:
 ctx- the involved faces context- Returns:
 - the results of the annotation scan task
 
 - 
removeInstance
 - 
initialize
This method bootstraps Faces based on the parsed configuration resources.
- Parameters:
 servletContext- theServletContextfor the application that requires initializationfacesContext- the involved initialization faces context
 - 
hasBeenInitialized
- Parameters:
 servletContext- theServletContextfor the application in question- Returns:
 trueif this application has already been initialized, otherwise returnsfase
 - 
destroy
This method will remove any information about the application.- Parameters:
 servletContext- theServletContextfor the application that needs to be removedfacesContext- theFacesContextfor the application that needs to be removed
 
 -