Class MapperLocatorDelegate

  • All Implemented Interfaces:
    jakarta.servlet.ServletContextListener, EventListener

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

      • MAPPER_BY_LOADER

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

        private static final String ATTRIBUTE
    • Constructor Detail

      • MapperLocatorDelegate

        public MapperLocatorDelegate()
    • Method Detail

      • 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()