@FunctionalInterface public interface VaadinServletContextStartupInitializer extends ClassLoaderAwareServletContainerInitializer, VaadinContextStartupInitializer
ClassLoaderAwareServletContainerInitializer
Modifier and Type | Method and Description |
---|---|
default void |
process(Set<Class<?>> classSet,
javax.servlet.ServletContext context)
Implement this method instead of
ClassLoaderAwareServletContainerInitializer.onStartup(Set, ServletContext)
to handle classes accessible by different classloaders. |
onStartup, requiresLookup
initialize
default void process(Set<Class<?>> classSet, javax.servlet.ServletContext context) throws javax.servlet.ServletException
ClassLoaderAwareServletContainerInitializer
ClassLoaderAwareServletContainerInitializer.onStartup(Set, ServletContext)
to handle classes accessible by different classloaders.process
in interface ClassLoaderAwareServletContainerInitializer
classSet
- the Set of application classes that extend, implement, or have
been annotated with the class types specified by the
HandlesTypes
annotation, or null if there are no matches, or this
ServletContainerInitializer has not been annotated
with HandlesTypescontext
- the ServletContext of the web application that is
being started and in which the classes contained in
classSet were foundjavax.servlet.ServletException
- if an error has occurredClassLoaderAwareServletContainerInitializer.onStartup(Set, ServletContext)
Copyright © 2021. All rights reserved.