Package com.vaadin.flow.server.startup
Interface VaadinContextStartupInitializer
- All Known Subinterfaces:
VaadinServletContextStartupInitializer
- All Known Implementing Classes:
AnnotationValidator
,DevModeStartupListener
,ErrorNavigationTargetInitializer
,RouteRegistryInitializer
,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.
Applies this initializer to the given
VaadinContext
.
It is intended to be called either:
- directly by non-servlet implementing HTTP frameworks or
- indirectly on servlet container initialization (via
ClassLoaderAwareServletContainerInitializer.onStartup(Set, ServletContext)
)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(Set<Class<?>> classSet, VaadinContext context) Applies this initializer to the given context
-
Method Details
-
initialize
Applies this initializer to the given context- Parameters:
classSet
- the Set of application classes which this initializer needs to do its jobcontext
- theVaadinContext
to use with this initializer- Throws:
VaadinInitializerException
- if an error has occurred
-