Hi all,
I’m using Spring Boot to bootstrap my application. And I would like to override VaadinServlet with my custom version, like this:
public class MyServlet extends VaadinServlet {
@Override
protected void servletInitialized() throws ServletException {
super.servletInitialized();
getService().addSessionInitListener(new MySessionInitListener());
}
}
However, I cannot find a way to tell Spring to pick it up. How is this usually done?
P.S. Code samples are highly appreciated