Class VaadinServletBuildItem

java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
com.vaadin.quarkus.deployment.VaadinServletBuildItem

public final class VaadinServletBuildItem extends io.quarkus.builder.item.MultiBuildItem
A Vaadin servlet of a native image, which is initialized at RUNTIME_INIT instead of by the servlet container at STATIC_INIT.
  • Constructor Details

    • VaadinServletBuildItem

      public VaadinServletBuildItem(String servletName, int loadOnStartup)
      Creates a new build item.
      Parameters:
      servletName - the name the servlet is registered with
      loadOnStartup - the order in which the servlet is initialized, lower first
  • Method Details

    • getServletName

      public String getServletName()
      Gets the name the servlet is registered with.
      Returns:
      the servlet name
    • getLoadOnStartup

      public int getLoadOnStartup()
      Gets the order in which the servlet is initialized, lower first.
      Returns:
      the load-on-startup value