org.nuxeo.opensocial.servlet
Class GuiceContextListener
java.lang.Object
org.nuxeo.opensocial.servlet.GuiceContextListener
- All Implemented Interfaces:
- java.util.EventListener, javax.servlet.ServletContextListener
public class GuiceContextListener
- extends java.lang.Object
- implements javax.servlet.ServletContextListener
Although this object says its a ServletContextListener, in fact it is not do
to order of initialization issues. This object uses Guice and we want to be
sure all the nuxeo initialization is finished prior to Guice being
initialized since the user might want to configure it.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INJECTOR_ATTRIBUTE
public static final java.lang.String INJECTOR_ATTRIBUTE
- See Also:
- Constant Field Values
MODULES_ATTRIBUTE
public static final java.lang.String MODULES_ATTRIBUTE
- See Also:
- Constant Field Values
guiceInjector
public static com.google.inject.Injector guiceInjector
GuiceContextListener
public GuiceContextListener()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent event)
- Specified by:
contextInitialized
in interface javax.servlet.ServletContextListener
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent event)
- Specified by:
contextDestroyed
in interface javax.servlet.ServletContextListener
Copyright © 2010 Nuxeo SAS. All Rights Reserved.