public class VaadinServletContextInitializer extends Object implements org.springframework.boot.web.servlet.ServletContextInitializer
If Java application is used to run Spring Boot then it doesn't run registered
ServletContainerInitializers (e.g. to scan for Route
annotations in the classpath). This class enables this scanning via Spring so
that the functionality which relies on ServletContainerInitializer
works in the same way as in deployable WAR file.
ServletContainerInitializer,
RouteRegistry| Modifier and Type | Class and Description |
|---|---|
protected static class |
VaadinServletContextInitializer.SpringStubServletConfig
ServletConfig implementation for getting initial properties for building
the DeploymentConfiguration.
|
| Constructor and Description |
|---|
VaadinServletContextInitializer(org.springframework.context.ApplicationContext context)
Creates a new
ServletContextInitializer instance with application
context provided. |
Copyright © 2025 Vaadin Ltd. All Rights Reserved.