Interface VaadinContextInitializer

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 VaadinContextInitializer
Allows to run initialization of VaadinContext which for some reasons may not be done via ServletContextListener.

The functionality is intended to internal usage only. The implementation of this interface may be available as an attribute in a VaadinContext. In the latter case GenericServlet.init() method will run initialize(VaadinContext) method.

For internal use only. May be renamed or removed in a future release.

Since:
Author:
Vaadin Ltd
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Initializes the Vaadin context.
  • Method Details

    • initialize

      void initialize(VaadinContext context)
      Initializes the Vaadin context.
      Parameters:
      context - the Vaadin context instance