@WebListener public class MapperLocator extends Object implements javax.servlet.ServletContextListener
Modifier and Type | Field and Description |
---|---|
private static String |
ATTRIBUTE |
private static Map<ClassLoader,Mapper> |
MAPPER_BY_LOADER |
Constructor and Description |
---|
MapperLocator() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) |
void |
contextInitialized(javax.servlet.ServletContextEvent servletContextEvent) |
static Mapper |
locate() |
private static Mapper |
newMapper() |
private static final Map<ClassLoader,Mapper> MAPPER_BY_LOADER
private static final String ATTRIBUTE
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
contextDestroyed
in interface javax.servlet.ServletContextListener
public static Mapper locate()
private static Mapper newMapper()
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.