public class GuiceServletContextListener extends Object implements javax.servlet.ServletContextListener
| Modifier and Type | Class and Description |
|---|---|
static interface |
GuiceServletContextListener.CleanupCapable
Interface for classes that need to run cleanup code without
using Runtime ShutdownHooks (which leaks memory on redeploys)
|
static class |
GuiceServletContextListener.CleanupHandler
Injectable handler that allows Guice classes to make themselves cleanup capable.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
INJECTOR_ATTRIBUTE |
static String |
INJECTOR_NAME |
static String |
MODULES_ATTRIBUTE |
| Constructor and Description |
|---|
GuiceServletContextListener() |
| 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 final String INJECTOR_NAME
public void contextInitialized(javax.servlet.ServletContextEvent event)
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed in interface javax.servlet.ServletContextListenerCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.