public class GuiceContextListener extends Object implements javax.servlet.ServletContextListener
Modifier and Type | Field and Description |
---|---|
static com.google.inject.Injector |
guiceInjector |
static String |
INJECTOR_ATTRIBUTE |
static String |
MODULES_ATTRIBUTE |
Constructor and Description |
---|
GuiceContextListener() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent event) |
void |
contextInitialized(javax.servlet.ServletContextEvent event) |
public static final String INJECTOR_ATTRIBUTE
public static final String MODULES_ATTRIBUTE
public static com.google.inject.Injector guiceInjector
public void contextInitialized(javax.servlet.ServletContextEvent event)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed
in interface javax.servlet.ServletContextListener
Copyright © 2015 Nuxeo SA. All rights reserved.