java.lang.Object
cloud.piranha.webapp.tempdir.TempDirInitializer
- All Implemented Interfaces:
ServletContainerInitializer
The ServletContext temporary directory initializer.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onStartup(Set<Class<?>> classes, ServletContext servletContext)
On startup.
-
Constructor Details
-
TempDirInitializer
public TempDirInitializer()
-
-
Method Details
-
onStartup
public void onStartup(Set<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.
-