public interface ServletContainerInitializer
Modifier and Type | Method and Description |
---|---|
void |
onStartup(java.util.Set<java.lang.Class<?>> t,
ServletContext context)
Notifies of the startup of the specified servlet context.
|
void onStartup(java.util.Set<java.lang.Class<?>> t, ServletContext context) throws ServletException
t
- the set of application classes that extend or have been
annotated by javax.servlet.HandlesTypes
, or null if there are
no such classescontext
- the servlet context being startedServletException