public class WebAppContextListener extends Object implements javax.servlet.ServletContextListener
Module.| Modifier and Type | Field and Description |
|---|---|
static org.jboss.gravia.resource.AttachmentKey<javax.servlet.ServletContext> |
SERVLET_CONTEXT_KEY |
| Constructor and Description |
|---|
WebAppContextListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent event)
Uninstalls the webapp's module.
|
void |
contextInitialized(javax.servlet.ServletContextEvent event)
Installs/starts the webapp as a module.
|
Module |
installWebappModule(javax.servlet.ServletContext servletContext) |
Module |
installWebappModule(javax.servlet.ServletContext servletContext,
org.jboss.gravia.resource.Resource resource,
Dictionary<String,String> headers) |
public static final org.jboss.gravia.resource.AttachmentKey<javax.servlet.ServletContext> SERVLET_CONTEXT_KEY
public void contextInitialized(javax.servlet.ServletContextEvent event)
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed in interface javax.servlet.ServletContextListenerpublic Module installWebappModule(javax.servlet.ServletContext servletContext)
public Module installWebappModule(javax.servlet.ServletContext servletContext, org.jboss.gravia.resource.Resource resource, Dictionary<String,String> headers)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.