Package org.apache.jasper.servlet
Class JasperInitializer
java.lang.Object
org.apache.jasper.servlet.JasperInitializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected TldScanner
newTldScanner
(ServletContext context, boolean namespaceAware, boolean validate, boolean blockExternal) void
onStartup
(Set<Class<?>> types, ServletContext context) 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
-
JasperInitializer
public JasperInitializer()
-
-
Method Details
-
onStartup
Description copied from interface:jakarta.servlet.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:
types
- The (possibly null) set of classes that met the specified criteriacontext
- The ServletContext of the web application in which the classes were discovered- Throws:
ServletException
- If an error occurs
-
newTldScanner
protected TldScanner newTldScanner(ServletContext context, boolean namespaceAware, boolean validate, boolean blockExternal)
-