ServletContainerInitializer
public class JasperInitializer extends java.lang.Object implements ServletContainerInitializer
Constructor | Description |
---|---|
JasperInitializer() |
Modifier and Type | Method | Description |
---|---|---|
protected TldScanner |
newTldScanner(ServletContext context,
boolean namespaceAware,
boolean validate,
boolean blockExternal) |
|
void |
onStartup(java.util.Set<java.lang.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 the
HandlesTypes annotation. |
public void onStartup(java.util.Set<java.lang.Class<?>> types, ServletContext context) throws ServletException
javax.servlet.ServletContainerInitializer
HandlesTypes
annotation.onStartup
in interface ServletContainerInitializer
types
- The (possibly null) set of classes that met the specified
criteriacontext
- The ServletContext of the web application in which the
classes were discoveredServletException
- If an error occursprotected TldScanner newTldScanner(ServletContext context, boolean namespaceAware, boolean validate, boolean blockExternal)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.