Top Constructors Methods
ch.qos.logback.classic.selector.servlet

public Class ContextDetachingSCL

extends Object
implements ServletContextListener
Class Inheritance
All Implemented Interfaces
jakarta.servlet.ServletContextListener, java.util.EventListener
Static Imports
ch.qos.logback.classic.ClassicConstants.JNDI_CONTEXT_NAME

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
contextDestroyed(ServletContextEvent
the ServletContextEvent containing the ServletContext that is being destroyed
servletContextEvent
)

Overrides default jakarta.servlet.ServletContextListener.contextDestroyed.

Receives notification that the ServletContext is about to be shut down.
public void
contextInitialized(ServletContextEvent
the ServletContextEvent containing the ServletContext that is being initialized
arg0
)

Overrides default jakarta.servlet.ServletContextListener.contextInitialized.

Receives notification that the web application initialization process is starting.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ContextDetachingSCLback to summary
public ContextDetachingSCL()

Method Detail

contextDestroyedback to summary
public void contextDestroyed(ServletContextEvent servletContextEvent)

Overrides default jakarta.servlet.ServletContextListener.contextDestroyed.

Doc from jakarta.servlet.ServletContextListener.contextDestroyed.

Receives notification that the ServletContext is about to be shut down.

All servlets and filters will have been destroyed before any ServletContextListeners are notified of context destruction.

Parameters
servletContextEvent:ServletContextEvent

the ServletContextEvent containing the ServletContext that is being destroyed

contextInitializedback to summary
public void contextInitialized(ServletContextEvent arg0)

Overrides default jakarta.servlet.ServletContextListener.contextInitialized.

Doc from jakarta.servlet.ServletContextListener.contextInitialized.

Receives notification that the web application initialization process is starting.

All ServletContextListeners are notified of context initialization before any filters or servlets in the web application are initialized.

Parameters
arg0:ServletContextEvent

the ServletContextEvent containing the ServletContext that is being initialized