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
The attachment key for the ServletContext
|
| 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)
Install a webapp module from the given servlet context.
|
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)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.