com.vaadin.flow.server.startup.
Interface VaadinContextStartupInitializer
-
All Known Subinterfaces:
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 VaadinContextStartupInitializer
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
All Methods Modifier and Type Method Description void
initialize(Set<Class<?>> classSet, VaadinContext context)
Applies this initializer to the given context
-
-
-
Method Detail
-
initialize
void initialize(Set<Class<?>> classSet, VaadinContext context) throws VaadinInitializerException
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 initializerThrows:
VaadinInitializerException
- if an error has occurred
-
-