Class MapperLocatorDelegate

java.lang.Object
org.apache.johnzon.websocket.internal.mapper.MapperLocatorDelegate
All Implemented Interfaces:
jakarta.servlet.ServletContextListener, EventListener

public class MapperLocatorDelegate extends Object implements jakarta.servlet.ServletContextListener
  • Field Details

    • MAPPER_BY_LOADER

      private static final Map<ClassLoader,Supplier<org.apache.johnzon.mapper.Mapper>> MAPPER_BY_LOADER
    • ATTRIBUTE

      private static final String ATTRIBUTE
  • Constructor Details

    • MapperLocatorDelegate

      public MapperLocatorDelegate()
  • Method Details

    • contextInitialized

      public void contextInitialized(jakarta.servlet.ServletContextEvent servletContextEvent)
      Specified by:
      contextInitialized in interface jakarta.servlet.ServletContextListener
    • contextDestroyed

      public void contextDestroyed(jakarta.servlet.ServletContextEvent servletContextEvent)
      Specified by:
      contextDestroyed in interface jakarta.servlet.ServletContextListener
    • locate

      public static org.apache.johnzon.mapper.Mapper locate()
    • newMapper

      private static org.apache.johnzon.mapper.Mapper newMapper()