public class NuxeoStarter extends Object implements ServletContextListener
This class must be configured as a <listener>/<listener-class>
in
META-INF/web.xml
.
It uses servlet init parameters defined through
<context-param>/<param-name>/<param-value>
in web.xml. Allowable
parameter names come from Environment
, mainly
NUXEO_RUNTIME_HOME
and NUXEO_CONFIG_DIR
,
but also NUXEO_DATA_DIR
,
NUXEO_LOG_DIR
,
NUXEO_TMP_DIR
and
NUXEO_WEB_DIR
.
Constructor and Description |
---|
NuxeoStarter() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(ServletContextEvent event) |
void |
contextInitialized(ServletContextEvent event) |
public void contextInitialized(ServletContextEvent event)
contextInitialized
in interface ServletContextListener
public void contextDestroyed(ServletContextEvent event)
contextDestroyed
in interface ServletContextListener
Copyright © 2013 Nuxeo SA. All Rights Reserved.