java.lang.Object
cloud.piranha.webapp.webxml.WebXmlInitializer
- All Implemented Interfaces:
ServletContainerInitializer
public class WebXmlInitializer extends java.lang.Object implements ServletContainerInitializer
The web.xml initializer.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
Constructors Constructor Description WebXmlInitializer()
-
Method Summary
Modifier and Type Method Description void
onStartup(java.util.Set<java.lang.Class<?>> classes, ServletContext servletContext)
On startup.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
WebXmlInitializer
public WebXmlInitializer()
-
-
Method Details
-
onStartup
public void onStartup(java.util.Set<java.lang.Class<?>> classes, ServletContext servletContext) throws ServletExceptionOn startup.- Specified by:
onStartup
in interfaceServletContainerInitializer
- Parameters:
classes
- the classes.servletContext
- the servlet context.- Throws:
ServletException
- when a servlet error occurs.
-