| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private static class | ConfigureListener.
Processes a web application's deployment descriptor looking for a reference to
|
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| protected WebappLifecycleListener | |
| protected WebConfiguration | |
| private ScheduledThreadPoolExecutor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | contextDestroyed(ServletContextEvent
the ServletContextEvent containing the ServletContext that is being destroyed sce)Overrides default jakarta. Receives notification that the ServletContext is about to be shut down. |
| public void | contextInitialized(ServletContextEvent
the ServletContextEvent containing the ServletContext that is being initialized servletContextEvent)Overrides default jakarta. Receives notification that the web application initialization process is starting. |
| private InitFacesContext | |
| private void | |
| private boolean | |
| private void | reload(ServletContext servletContext)
This method will be invoked |
| public void | requestDestroyed(ServletRequestEvent
the ServletRequestEvent containing the ServletRequest and the ServletContext representing the web
application event)Overrides default jakarta. Receives notification that a ServletRequest is about to go out of scope of the web application. |
| public void | requestInitialized(ServletRequestEvent
the ServletRequestEvent containing the ServletRequest and the ServletContext representing the web
application event)Overrides default jakarta. Receives notification that a ServletRequest is about to come into scope of the web application. |
| public void | sessionCreated(HttpSessionEvent
the HttpSessionEvent containing the session event)Overrides default jakarta. Receives notification that a session has been created. |
| public void | sessionDestroyed(HttpSessionEvent
the HttpSessionEvent containing the session event)Overrides default jakarta. Receives notification that a session is about to be invalidated. |
| private boolean |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| webAppListener | back to summary |
|---|---|
| protected WebappLifecycleListener webAppListener | |
| webConfig | back to summary |
|---|---|
| protected WebConfiguration webConfig | |
| webResourcePool | back to summary |
|---|---|
| private ScheduledThreadPoolExecutor webResourcePool | |
| ConfigureListener | back to summary |
|---|---|
| public ConfigureListener() | |
| contextDestroyed | back to summary |
|---|---|
| public void contextDestroyed(ServletContextEvent sce) Overrides default jakarta. Doc from jakarta. Receives notification that the ServletContext is about to be shut down. All servlets and filters will have been destroyed before any ServletContextListeners are notified of context destruction.
| |
| contextInitialized | back to summary |
|---|---|
| public void contextInitialized(ServletContextEvent servletContextEvent) Overrides default jakarta. Doc from jakarta. Receives notification that the web application initialization process is starting. All ServletContextListeners are notified of context initialization before any filters or servlets in the web application are initialized.
| |
| getInitFacesContext | back to summary |
|---|---|
| private InitFacesContext getInitFacesContext(ServletContext context) | |
| initConfigMonitoring | back to summary |
|---|---|
| private void initConfigMonitoring(ServletContext context) | |
| isDevModeEnabled | back to summary |
|---|---|
| private boolean isDevModeEnabled() | |
| reload | back to summary |
|---|---|
| private void reload(ServletContext servletContext) This method will be invoked | |
| requestDestroyed | back to summary |
|---|---|
| public void requestDestroyed(ServletRequestEvent event) Overrides default jakarta. Doc from jakarta. Receives notification that a ServletRequest is about to go out of scope of the web application.
| |
| requestInitialized | back to summary |
|---|---|
| public void requestInitialized(ServletRequestEvent event) Overrides default jakarta. Doc from jakarta. Receives notification that a ServletRequest is about to come into scope of the web application.
| |
| sessionCreated | back to summary |
|---|---|
| public void sessionCreated(HttpSessionEvent event) Overrides default jakarta. Doc from jakarta. Receives notification that a session has been created.
| |
| sessionDestroyed | back to summary |
|---|---|
| public void sessionDestroyed(HttpSessionEvent event) Overrides default jakarta. Doc from jakarta. Receives notification that a session is about to be invalidated.
| |
| shouldInitConfigMonitoring | back to summary |
|---|---|
| private boolean shouldInitConfigMonitoring() | |
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private final ServletContext |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| monitors | back to summary |
|---|---|
| private List<ConfigureListener. | |
| servletContext | back to summary |
|---|---|
| private final ServletContext servletContext | |
| WebConfigResourceMonitor | back to summary |
|---|---|
| public WebConfigResourceMonitor(ServletContext servletContext, Collection<URI> uris) | |
| run | back to summary |
|---|---|
| public void run() Implements java. PENDING javadocs
| |
| Modifier and Type | Method and Description |
|---|---|
| private long | |
| pack-priv boolean |
| timestamp | back to summary |
|---|---|
| private long timestamp | |
| uri | back to summary |
|---|---|
| private final URI uri | |
| Monitor | back to summary |
|---|---|
| pack-priv Monitor(URI uri) throws IOException | |
| getLastModified | back to summary |
|---|---|
| private long getLastModified() throws IOException | |
| hasBeenModified | back to summary |
|---|---|
| pack-priv boolean hasBeenModified() throws IOException | |
Processes a web application's deployment descriptor looking for a reference to
jakarta.faces.webapp.FacesServlet.
| Modifier and Type | Class and Description |
|---|---|
| private class | ConfigureListener.
A simple SAX handler to process the elements of interested within a web application's deployment descriptor. |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private boolean | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | WebXmlProcessor(ServletContext
the context)ServletContext for the application of interest
When instantiated, the web.xml of the current application will be scanned looking for a references to the
|
| Modifier and Type | Method and Description |
|---|---|
| private SAXParserFactory | Returns: configuredSAXParserFactory
Return a |
| public boolean | |
| pack-priv boolean | |
| pack-priv boolean | Returns: true if the WebXmlProcessor detected a FacesServlet entry, otherwise
return false.
|
| private void | scanForFacesServlet(ServletContext
the ServletContext instance for this application context)
Parse the web.xml for the current application and scan for a FacesServlet entry, if found, set the
|
| private void |
| distributablePresent | back to summary |
|---|---|
| private boolean distributablePresent | |
| errorPagePresent | back to summary |
|---|---|
| private boolean errorPagePresent | |
| facesServletPresent | back to summary |
|---|---|
| private boolean facesServletPresent | |
| WEB_FRAGMENT_PATH | back to summary |
|---|---|
| private static final String WEB_FRAGMENT_PATH | |
| WEB_XML_PATH | back to summary |
|---|---|
| private static final String WEB_XML_PATH | |
| WebXmlProcessor | back to summary |
|---|---|
| pack-priv WebXmlProcessor(ServletContext context)
When instantiated, the web.xml of the current application will be scanned looking for a references to the
| |
| getConfiguredFactory | back to summary |
|---|---|
| private SAXParserFactory getConfiguredFactory()
Return a
| |
| isDistributablePresent | back to summary |
|---|---|
| public boolean isDistributablePresent() | |
| isErrorPagePresent | back to summary |
|---|---|
pack-priv boolean isErrorPagePresent()
| |
| isFacesServletPresent | back to summary |
|---|---|
pack-priv boolean isFacesServletPresent()
| |
| scanForFacesServlet | back to summary |
|---|---|
| private void scanForFacesServlet(ServletContext context)
Parse the web.xml for the current application and scan for a FacesServlet entry, if found, set the
| |
| warnProcessingError | back to summary |
|---|---|
| private void warnProcessingError(Exception e, ServletContext servletContext) | |
A simple SAX handler to process the elements of interested within a web application's deployment descriptor.
| Modifier and Type | Field and Description |
|---|---|
| private StringBuffer | |
| private static final String | |
| private static final String | |
| private static final String | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | characters(char[]
The characters. ch, int The start position in the character array. start, int The number of characters to use from the
character array. length)Overrides org. Implements org. Receive notification of character data inside an element. |
| public void | endElement(String
The Namespace URI, or the empty string if the
element has no Namespace URI or if Namespace
processing is not being performed. uri, String The local name (without prefix), or the
empty string if Namespace processing is not being
performed. localName, String The qualified name (with prefix), or the
empty string if qualified names are not available. qName)Overrides org. Implements org. Receive notification of the end of an element. |
| public InputSource | resolveEntity(String
The public identifier, or null if none is
available. publicId, String The system identifier provided in the XML
document. systemId)Overrides org. Implements org. Resolve an external entity. |
| public void | startElement(String
The Namespace URI, or the empty string if the
element has no Namespace URI or if Namespace
processing is not being performed. uri, String The local name (without prefix), or the
empty string if Namespace processing is not being
performed. localName, String The qualified name (with prefix), or the
empty string if qualified names are not available. qName, Attributes The attributes attached to the element. If
there are no attributes, it shall be an empty
Attributes object. attributes)Overrides org. Implements org. Receive notification of the start of an element. |
| content | back to summary |
|---|---|
| private StringBuffer content | |
| ERROR_PAGE | back to summary |
|---|---|
| private static final String ERROR_PAGE | |
| FACES_SERVLET | back to summary |
|---|---|
| private static final String FACES_SERVLET | |
| SERVLET_CLASS | back to summary |
|---|---|
| private static final String SERVLET_CLASS | |
| servletClassFound | back to summary |
|---|---|
| private boolean servletClassFound | |
| WebXmlHandler | back to summary |
|---|---|
| private WebXmlHandler() | |
| characters | back to summary |
|---|---|
| public void characters(char[] ch, int start, int length) throws SAXException Overrides org. Implements org. Doc from org. Receive notification of character data inside an element. By default, do nothing. Application writers may override this method to take specific actions for each chunk of character data (such as adding the data to a node or buffer, or printing it to a file).
| |
| endElement | back to summary |
|---|---|
| public void endElement(String uri, String localName, String qName) throws SAXException Overrides org. Implements org. Doc from org. Receive notification of the end of an element. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of each element (such as finalising a tree node or writing output to a file).
| |
| resolveEntity | back to summary |
|---|---|
| public InputSource resolveEntity(String publicId, String systemId) throws SAXException Overrides org. Implements org. Doc from org. Resolve an external entity. Always return null, so that the parser will use the system identifier provided in the XML document. This method implements the SAX default behaviour: application writers can override it in a subclass to do special translations such as catalog lookups or URI redirection.
| |
| startElement | back to summary |
|---|---|
| public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException Overrides org. Implements org. Doc from org. Receive notification of the start of an element. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each element (such as allocating a new tree node or writing output to a file).
| |