Package com.vaadin.quarkus.deployment
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 Summary
ConstructorsConstructorDescriptionVaadinServletBuildItem(String servletName, int loadOnStartup) Creates a new build item. -
Method Summary
Modifier and TypeMethodDescriptionintGets the order in which the servlet is initialized, lower first.Gets the name the servlet is registered with.
-
Constructor Details
-
VaadinServletBuildItem
Creates a new build item.- Parameters:
servletName- the name the servlet is registered withloadOnStartup- the order in which the servlet is initialized, lower first
-
-
Method Details
-
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
-