public class JasperInitializer extends Object implements ServletContainerInitializer
Modifier and Type | Field and Description |
---|---|
static String |
VALIDATE
Name of ServletContext initParam that determines if descriptor XML
should be validated.
|
Constructor and Description |
---|
JasperInitializer() |
Modifier and Type | Method and Description |
---|---|
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 the
HandlesTypes annotation. |
public static final String VALIDATE
public void onStartup(Set<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 occursCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.