org.opensubsystems.core.www
Class WebModuleListener
java.lang.Object
org.opensubsystems.core.www.WebModuleListener
- All Implemented Interfaces:
- java.util.EventListener, javax.servlet.ServletContextListener
public class WebModuleListener
- extends java.lang.Object
- implements javax.servlet.ServletContextListener
WebModuleListener is responsible for initialization of
web modules available in the system. It determines what
web modules are used by this web application, loads them
and initialize them.
The web module definition bundles must be specified in web.xml using context
parameters, for example:
oss.webclient.module.0
org.opensubsystems.security.www.SecurityWebModule
oss.webclient.module.1
org.opensubsystems.portal.www.PortalWebModule
- Version:
- $Id: WebModuleListener.java,v 1.6 2007/01/07 06:14:09 bastafidli Exp $
- Author:
- Julian Legeny
- Code reviewer:
- Miro Halas
- Code reviewed:
- 1.2 2006/03/25 01:53:36 jlegeny
|
Field Summary |
static java.lang.String |
WEBCLIENT_MODULE_PREFIX
This is used to name parameters such as oss.webclient.module.0,
oss.webclient.module.1 which specify what web modules the application
consists of. |
static java.lang.String |
WEBCLIENT_MODULE_URL_PREFIX
This is used to name parameters such as oss.webclient.module.url.0,
oss.webclient.module.url.1 and they are used for defining URL related
to particular web module. |
|
Method Summary |
void |
contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
|
void |
contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WEBCLIENT_MODULE_PREFIX
public static final java.lang.String WEBCLIENT_MODULE_PREFIX
- This is used to name parameters such as oss.webclient.module.0,
oss.webclient.module.1 which specify what web modules the application
consists of. The web modules are initialized in the numeric order
specified in the configuration setting name.
- See Also:
- Constant Field Values
WEBCLIENT_MODULE_URL_PREFIX
public static final java.lang.String WEBCLIENT_MODULE_URL_PREFIX
- This is used to name parameters such as oss.webclient.module.url.0,
oss.webclient.module.url.1 and they are used for defining URL related
to particular web module.
- See Also:
- Constant Field Values
WebModuleListener
public WebModuleListener()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
-
- Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
-
- Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener
Copyright © 2003 - 2006 OpenSubsystems s.r.o.