Package com.vaadin.quarkus.graal
Class AtmosphereDeferredInitializer
java.lang.Object
com.vaadin.quarkus.graal.AtmosphereDeferredInitializer
Defers the initialization of executors at runtime to prevent failures during
native build.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(jakarta.servlet.ServletConfig config, org.atmosphere.cpr.AtmosphereFramework framework) Takes a reference to an Atmosphere instance to defer the initialization of Atmosphere at RUNTIME_INIT phase.
-
Constructor Details
-
AtmosphereDeferredInitializer
public AtmosphereDeferredInitializer()
-
-
Method Details
-
register
public static void register(jakarta.servlet.ServletConfig config, org.atmosphere.cpr.AtmosphereFramework framework) Takes a reference to an Atmosphere instance to defer the initialization of Atmosphere at RUNTIME_INIT phase. The effective initialization is performed by the AtmosphereDeferredInitializerRecorder @Recoder.- Parameters:
config- the servlet config.framework- the Atmosphere framework instance.
-