public class MapperLocatorDelegate
extends java.lang.Object
implements javax.servlet.ServletContextListener
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
ATTRIBUTE |
private static java.util.Map<java.lang.ClassLoader,java.util.function.Supplier<org.apache.johnzon.mapper.Mapper>> |
MAPPER_BY_LOADER |
| Constructor and Description |
|---|
MapperLocatorDelegate() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) |
void |
contextInitialized(javax.servlet.ServletContextEvent servletContextEvent) |
static org.apache.johnzon.mapper.Mapper |
locate() |
private static org.apache.johnzon.mapper.Mapper |
newMapper() |
private static final java.util.Map<java.lang.ClassLoader,java.util.function.Supplier<org.apache.johnzon.mapper.Mapper>> MAPPER_BY_LOADER
private static final java.lang.String ATTRIBUTE
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
contextDestroyed in interface javax.servlet.ServletContextListenerpublic static org.apache.johnzon.mapper.Mapper locate()
private static org.apache.johnzon.mapper.Mapper newMapper()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.