You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.internal.

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

      All Methods
      Modifier and Type Method Description
      void initialize​(VaadinContext context)

      Initializes the Vaadin context.

    • Method Detail

      • initialize

        void initialize​(VaadinContext context)

        Initializes the Vaadin context.

        Parameters:

        context - the Vaadin context instance