Package com.levigo.jadice.web.server
Class WebtoolkitServletContextListener
java.lang.Object
com.levigo.jadice.web.server.WebtoolkitServletContextListener
- All Implemented Interfaces:
jakarta.servlet.ServletContextListener
,EventListener
@Deprecated
public abstract class WebtoolkitServletContextListener
extends Object
implements jakarta.servlet.ServletContextListener
Deprecated.
A
ServletContextListener
to set up the WebtoolkitServerContext
.
Create your own ServletContextListener
by extending this class. Then add your class as
ServletContextListener
to your web application (either by annotating it with
WebListener
or by adding a <listener>-element to your web.xml).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
contextDestroyed
(jakarta.servlet.ServletContextEvent sce) Deprecated.final void
contextInitialized
(jakarta.servlet.ServletContextEvent sce) Deprecated.protected abstract void
contextInitialized
(jakarta.servlet.ServletContextEvent sce, WebtoolkitServerContext webtoolkitContext) Deprecated.
-
Constructor Details
-
WebtoolkitServletContextListener
public WebtoolkitServletContextListener()Deprecated.
-
-
Method Details
-
contextInitialized
public final void contextInitialized(jakarta.servlet.ServletContextEvent sce) Deprecated.- Specified by:
contextInitialized
in interfacejakarta.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(jakarta.servlet.ServletContextEvent sce) Deprecated.- Specified by:
contextDestroyed
in interfacejakarta.servlet.ServletContextListener
-
contextInitialized
@Deprecated protected abstract void contextInitialized(jakarta.servlet.ServletContextEvent sce, WebtoolkitServerContext webtoolkitContext) Deprecated.Notification that the web application initialization process is starting. AllServletContextListener
s are notified of context initialization before anyFilter
orServlet
in the web application is initialized.- Parameters:
sce
- theServletContextEvent
from the web serverwebtoolkitContext
- the context to setup the jadice web toolkit- See Also:
-
ServletContextListener
-