Class IgnoreIfMissing
- java.lang.Object
-
- org.apache.johnzon.websocket.internal.servlet.IgnoreIfMissing
-
- All Implemented Interfaces:
jakarta.servlet.ServletContextListener
,EventListener
- Direct Known Subclasses:
JsonbLocator
,MapperLocator
public class IgnoreIfMissing extends Object implements jakarta.servlet.ServletContextListener
-
-
Constructor Summary
Constructors Constructor Description IgnoreIfMissing(Supplier<jakarta.servlet.ServletContextListener> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextDestroyed(jakarta.servlet.ServletContextEvent sce)
void
contextInitialized(jakarta.servlet.ServletContextEvent sce)
-
-
-
Field Detail
-
delegate
private final Supplier<jakarta.servlet.ServletContextListener> delegate
-
skipped
private boolean skipped
-
-
Constructor Detail
-
IgnoreIfMissing
public IgnoreIfMissing(Supplier<jakarta.servlet.ServletContextListener> delegate)
-
-
Method Detail
-
contextInitialized
public void contextInitialized(jakarta.servlet.ServletContextEvent sce)
- Specified by:
contextInitialized
in interfacejakarta.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(jakarta.servlet.ServletContextEvent sce)
- Specified by:
contextDestroyed
in interfacejakarta.servlet.ServletContextListener
-
-