Module org.apache.johnzon.websocket
Class MapperLocatorDelegate
java.lang.Object
org.apache.johnzon.websocket.internal.mapper.MapperLocatorDelegate
- All Implemented Interfaces:
jakarta.servlet.ServletContextListener,EventListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Map<ClassLoader,Supplier<org.apache.johnzon.mapper.Mapper>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontextDestroyed(jakarta.servlet.ServletContextEvent servletContextEvent) voidcontextInitialized(jakarta.servlet.ServletContextEvent servletContextEvent) static org.apache.johnzon.mapper.Mapperlocate()private static org.apache.johnzon.mapper.Mapper
-
Field Details
-
MAPPER_BY_LOADER
-
ATTRIBUTE
-
-
Constructor Details
-
MapperLocatorDelegate
public MapperLocatorDelegate()
-
-
Method Details
-
contextInitialized
public void contextInitialized(jakarta.servlet.ServletContextEvent servletContextEvent) - Specified by:
contextInitializedin interfacejakarta.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(jakarta.servlet.ServletContextEvent servletContextEvent) - Specified by:
contextDestroyedin interfacejakarta.servlet.ServletContextListener
-
locate
public static org.apache.johnzon.mapper.Mapper locate() -
newMapper
private static org.apache.johnzon.mapper.Mapper newMapper()
-