Package ch.qos.logback.classic.servlet
Class LogbackServletContainerInitializer
java.lang.Object
ch.qos.logback.classic.servlet.LogbackServletContainerInitializer
- All Implemented Interfaces:
ServletContainerInitializer
@Deprecated(since="2022-01-27")
public class LogbackServletContainerInitializer
extends Object
implements ServletContainerInitializer
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
Attaches a new instance of
LogbackServletContextListener
to the current web-applications ServletContext
.- Since:
- 1.1.10
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onStartup
(Set<Class<?>> c, ServletContext ctx) Deprecated.Receives notification during startup of a web application of the classes within the web application that matched the criteria defined via theHandlesTypes
annotation.
-
Constructor Details
-
LogbackServletContainerInitializer
public LogbackServletContainerInitializer()Deprecated.
-
-
Method Details
-
onStartup
Deprecated.Description copied from interface:ServletContainerInitializer
Receives notification during startup of a web application of the classes within the web application that matched the criteria defined via theHandlesTypes
annotation.- Specified by:
onStartup
in interfaceServletContainerInitializer
- Parameters:
c
- The (possibly null) set of classes that met the specified criteriactx
- The ServletContext of the web application in which the classes were discovered- Throws:
ServletException
- If an error occurs
-