Package com.vaadin.flow.server.startup
Interface VaadinServletContextStartupInitializer
-
- All Superinterfaces:
ClassLoaderAwareServletContainerInitializer,javax.servlet.ServletContainerInitializer,VaadinContextStartupInitializer
- All Known Implementing Classes:
AnnotationValidator,DevModeStartupListener,ErrorNavigationTargetInitializer,RouteRegistryInitializer,ServletVerifier,VaadinAppShellInitializer,WebComponentConfigurationRegistryInitializer,WebComponentExporterAwareValidator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface VaadinServletContextStartupInitializer extends ClassLoaderAwareServletContainerInitializer, VaadinContextStartupInitializer
Allows a library/runtime to be notified of a web application's startup phase and perform any required programmatic registration of servlets, filters, and listeners in response to it.- Since:
- See Also:
ClassLoaderAwareServletContainerInitializer
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidprocess(Set<Class<?>> classSet, javax.servlet.ServletContext context)Implement this method instead ofClassLoaderAwareServletContainerInitializer.onStartup(Set, ServletContext)to handle classes accessible by different classloaders.-
Methods inherited from interface com.vaadin.flow.server.startup.ClassLoaderAwareServletContainerInitializer
onStartup, requiresLookup
-
Methods inherited from interface com.vaadin.flow.server.startup.VaadinContextStartupInitializer
initialize
-
-
-
-
Method Detail
-
process
default void process(Set<Class<?>> classSet, javax.servlet.ServletContext context) throws javax.servlet.ServletException
Description copied from interface:ClassLoaderAwareServletContainerInitializerImplement this method instead ofClassLoaderAwareServletContainerInitializer.onStartup(Set, ServletContext)to handle classes accessible by different classloaders.- Specified by:
processin interfaceClassLoaderAwareServletContainerInitializer- Parameters:
classSet- the Set of application classes that extend, implement, or have been annotated with the class types specified by theHandlesTypesannotation, ornullif there are no matches, or thisServletContainerInitializerhas not been annotated withHandlesTypescontext- theServletContextof the web application that is being started and in which the classes contained inclassSetwere found- Throws:
javax.servlet.ServletException- if an error has occurred- See Also:
ClassLoaderAwareServletContainerInitializer.onStartup(Set, ServletContext)
-
-