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 SummaryFields Modifier and Type Field Description private static StringATTRIBUTEprivate static Map<ClassLoader,Supplier<Mapper>>MAPPER_BY_LOADER
 - 
Constructor SummaryConstructors Constructor Description MapperLocatorDelegate()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontextDestroyed(jakarta.servlet.ServletContextEvent servletContextEvent)voidcontextInitialized(jakarta.servlet.ServletContextEvent servletContextEvent)static Mapperlocate()private static MappernewMapper()
 
- 
- 
- 
Field Detail- 
MAPPER_BY_LOADERprivate static final Map<ClassLoader,Supplier<Mapper>> MAPPER_BY_LOADER 
 - 
ATTRIBUTEprivate static final String ATTRIBUTE 
 
- 
 - 
Method Detail- 
contextInitializedpublic void contextInitialized(jakarta.servlet.ServletContextEvent servletContextEvent) - Specified by:
- contextInitializedin interface- jakarta.servlet.ServletContextListener
 
 - 
contextDestroyedpublic void contextDestroyed(jakarta.servlet.ServletContextEvent servletContextEvent) - Specified by:
- contextDestroyedin interface- jakarta.servlet.ServletContextListener
 
 - 
locatepublic static Mapper locate() 
 - 
newMapperprivate static Mapper newMapper() 
 
- 
 
-