This is the base ConfigProcessor that all concrete ConfigProcessor implementations should
extend.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private String | |
| protected Object | |
| protected Object | createInstance(ServletContext sc, FacesContext facesContext, String className, Class<?> rootType, Object root, Node source)
|
| protected Object | createInstance(ServletContext sc, FacesContext facesContext, String className, Class<?> rootType, Object root, Node source, boolean performInjection, boolean[] didPerformInjection)
|
| public void | destroy(ServletContext sc, FacesContext facesContext)
Implements com.
|
| protected void | |
| protected Class | findRootType(ServletContext sc, FacesContext facesContext, String source, Node sourceNode, Class<?>[] ctorArguments)
|
| protected Application | |
| private ApplicationInstanceFactoryMetadataMap | |
| protected String | |
| protected String | Returns: the text of theNode If the length of the text is zero, this method will return
nullthe node)Node
Return the text of the specified |
| private ProjectStage | |
| protected Map | Returns: aMap of of textual values keyed off the values of any lang or xml:lang attributes specified on
an attribute. If no such attribute exists, then the key ApplicationResourceBundle#DEFAULT_KEY will be used
(i.e. this represents the default Locale).a list of nodes representing textual elements such as description or display-name list)
|
| public void | initializeClassMetadataMap(ServletContext
the involved servlet context servletContext, FacesContext the involved faces context facesContext)Implements com. Called to initialize the per-application metadata used by the ConfigProcessor |
| private boolean | |
| protected Class | loadClass(ServletContext sc, FacesContext facesContext, String className, Object fallback, Class<?> expectedType)
|
| protected void |
| CLASS_METADATA_MAP_KEY_SUFFIX | back to summary |
|---|---|
| private static final String CLASS_METADATA_MAP_KEY_SUFFIX | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| AbstractConfigProcessor | back to summary |
|---|---|
| public AbstractConfigProcessor() | |
| buildMessage | back to summary |
|---|---|
| private String buildMessage(String cause, Node source) | |
| createInstance | back to summary |
|---|---|
| protected Object createInstance(ServletContext sc, FacesContext facesContext, String className, Node source) | |
| createInstance | back to summary |
|---|---|
| protected Object createInstance(ServletContext sc, FacesContext facesContext, String className, Class<?> rootType, Object root, Node source) | |
| createInstance | back to summary |
|---|---|
| protected Object createInstance(ServletContext sc, FacesContext facesContext, String className, Class<?> rootType, Object root, Node source, boolean performInjection, boolean[] didPerformInjection) | |
| destroy | back to summary |
|---|---|
| public void destroy(ServletContext sc, FacesContext facesContext) Implements com.
| |
| destroyInstance | back to summary |
|---|---|
| protected void destroyInstance(ServletContext sc, FacesContext facesContext, String className, Object instance) | |
| findRootType | back to summary |
|---|---|
| protected Class | |
| getApplication | back to summary |
|---|---|
protected Application getApplication()
| |
| getClassMetadataMap | back to summary |
|---|---|
| private ApplicationInstanceFactoryMetadataMap | |
| getClassMetadataMapKey | back to summary |
|---|---|
| protected String getClassMetadataMapKey() | |
| getNodeText | back to summary |
|---|---|
| protected String getNodeText(Node node)
Return the text of the specified | |
| getProjectStage | back to summary |
|---|---|
| private ProjectStage getProjectStage(ServletContext sc, FacesContext facesContext) | |
| getTextMap | back to summary |
|---|---|
protected Map
| |
| initializeClassMetadataMap | back to summary |
|---|---|
| public void initializeClassMetadataMap(ServletContext servletContext, FacesContext facesContext) Implements com. Doc from com. Called to initialize the per-application metadata used by the ConfigProcessor
| |
| isDevModeEnabled | back to summary |
|---|---|
| private boolean isDevModeEnabled(ServletContext sc, FacesContext facesContext) | |
| loadClass | back to summary |
|---|---|
| protected Class | |
| processAnnotations | back to summary |
|---|---|
| protected void processAnnotations(FacesContext ctx, Class<? extends Annotation> annotationType) | |