Class JsonbLocatorDelegate
- java.lang.Object
-
- org.apache.johnzon.websocket.jsonb.JsonbLocatorDelegate
-
- All Implemented Interfaces:
jakarta.servlet.ServletContextListener
,EventListener
public class JsonbLocatorDelegate extends Object implements jakarta.servlet.ServletContextListener
-
-
Field Summary
Fields Modifier and Type Field Description private static String
ATTRIBUTE
private static Map<ClassLoader,jakarta.json.bind.Jsonb>
BY_LOADER
-
Constructor Summary
Constructors Constructor Description JsonbLocatorDelegate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextDestroyed(jakarta.servlet.ServletContextEvent servletContextEvent)
void
contextInitialized(jakarta.servlet.ServletContextEvent servletContextEvent)
static jakarta.json.bind.Jsonb
locate()
private static jakarta.json.bind.Jsonb
newInstance()
-
-
-
Field Detail
-
BY_LOADER
private static final Map<ClassLoader,jakarta.json.bind.Jsonb> BY_LOADER
-
ATTRIBUTE
private static final String ATTRIBUTE
-
-
Method Detail
-
contextInitialized
public void contextInitialized(jakarta.servlet.ServletContextEvent servletContextEvent)
- Specified by:
contextInitialized
in interfacejakarta.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(jakarta.servlet.ServletContextEvent servletContextEvent)
- Specified by:
contextDestroyed
in interfacejakarta.servlet.ServletContextListener
-
locate
public static jakarta.json.bind.Jsonb locate()
-
newInstance
private static jakarta.json.bind.Jsonb newInstance()
-
-