| |
|
| java.lang.Object com.opensymphony.webwork.lifecycle.ApplicationLifecycleListener
All known Subclasses: com.opensymphony.webwork.lifecycle.LifecycleListener,
ApplicationLifecycleListener | public class ApplicationLifecycleListener implements ServletContextListener(Code) | | A servlet context listener to handle the lifecycle of an application-based XWork component manager.
author: Joe Walnes author: Patrick Lightbody author: Bill Lynch (docs) |
contextDestroyed | public void contextDestroyed(ServletContextEvent event)(Code) | | Destroys the XWork component manager because the server is shutting down.
Parameters: event - the servlet context event. |
contextInitialized | public void contextInitialized(ServletContextEvent event)(Code) | | Initializes the XWork compontent manager. Loads component config from the components.xml file
in the classpath. Adds the component manager and compontent config as attributes of the servlet context.
Parameters: event - the servlet context event. |
createComponentManager | protected DefaultComponentManager createComponentManager()(Code) | | Returns a new DefaultComponentManager instance. This method is useful for developers
wishing to subclass this class and provide a different implementation of DefaultComponentManager.
a new DefaultComponentManager instance. |
|
|
|