Interface VaadinApplicationInitializationBootstrap

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 VaadinApplicationInitializationBootstrap
Represents Vaadin web application initialization bootstrap.

This is internal mechanism for bootstrapping Vaadin web application initialization. It's executed before servlet initialization once the Lookup instance is created. The internal implementation setups the Lookup instance in the VaadinContext so that it becomes available via VaadinContext.getAttribute(Class) and bootstraps all initializers (basically ServletContainerInitializer impls) that depends on Lookup presence.

Since:
Author:
Vaadin Ltd
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bootstrap(Lookup lookup)
    Bootstraps Vaadin application initialization.
  • Method Details

    • bootstrap

      void bootstrap(Lookup lookup) throws jakarta.servlet.ServletException
      Bootstraps Vaadin application initialization.
      Parameters:
      lookup - a lookup instance required for initialization
      Throws:
      jakarta.servlet.ServletException - if lookup initialization failed