Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.deployment
Class NuxeoStarter

java.lang.Object
  extended by org.nuxeo.runtime.deployment.NuxeoStarter
All Implemented Interfaces:
EventListener, ServletContextListener

public class NuxeoStarter
extends Object
implements ServletContextListener

This is called at WAR startup and starts the Nuxeo OSGi runtime and registers the Nuxeo bundles with it.

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 Summary
NuxeoStarter()
           
 
Method Summary
 void contextDestroyed(ServletContextEvent event)
           
 void contextInitialized(ServletContextEvent event)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NuxeoStarter

public NuxeoStarter()
Method Detail

contextInitialized

public void contextInitialized(ServletContextEvent event)
Specified by:
contextInitialized in interface ServletContextListener

contextDestroyed

public void contextDestroyed(ServletContextEvent event)
Specified by:
contextDestroyed in interface ServletContextListener

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.