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 java.lang.Object implements ServletContainerInitializer
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Attaches a new instance ofLogbackServletContextListener
to the current web-applicationsServletContext
.- Since:
- 1.1.10
-
-
Constructor Summary
Constructors Constructor Description LogbackServletContainerInitializer()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
onStartup(java.util.Set<java.lang.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.
-
-
-
Method Detail
-
onStartup
public void onStartup(java.util.Set<java.lang.Class<?>> c, ServletContext ctx) throws ServletException
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
-
-