public class Listener extends ForwardingServletListener
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_MANAGER_ATTRIBUTE_NAME |
Constructor and Description |
---|
Listener() |
Modifier and Type | Method and Description |
---|---|
protected Container |
checkContainers(ContainerContext cc,
StringBuilder dump,
Iterable<Container> containers) |
void |
contextDestroyed(ServletContextEvent sce) |
void |
contextInitialized(ServletContextEvent sce) |
protected ServletDeployment |
createServletDeployment(ServletContext context,
Bootstrap bootstrap)
Create server deployment.
|
protected URLScanner |
createUrlScanner(ClassLoader classLoader,
ServletContext context)
Get appropriate scanner.
|
protected ServletListener |
delegate() |
protected Container |
findContainer(ContainerContext cc,
StringBuilder dump)
Find container env.
|
requestDestroyed, requestInitialized, sessionCreated, sessionDestroyed
public static final String BEAN_MANAGER_ATTRIBUTE_NAME
public void contextDestroyed(ServletContextEvent sce)
contextDestroyed
in class ForwardingServletListener
protected ServletDeployment createServletDeployment(ServletContext context, Bootstrap bootstrap)
context
- the servlet contextbootstrap
- the bootstrapprotected URLScanner createUrlScanner(ClassLoader classLoader, ServletContext context)
classLoader
- the classloadercontext
- the servlet contextpublic void contextInitialized(ServletContextEvent sce)
contextInitialized
in class ForwardingServletListener
protected ServletListener delegate()
delegate
in class ForwardingServletListener
protected Container findContainer(ContainerContext cc, StringBuilder dump)
cc
- the container contextdump
- the exception dumpprotected Container checkContainers(ContainerContext cc, StringBuilder dump, Iterable<Container> containers)
Copyright © 2013 Seam Framework. All Rights Reserved.