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| Constructor and Description |
|---|
VaadinServletContextInitializer(org.springframework.context.ApplicationContext context)
Creates a new
ServletContextInitializer instance with application
context provided. |
Copyright © 2021 Vaadin Ltd. All Rights Reserved.