Class AtmosphereDeferredInitializer

java.lang.Object
com.vaadin.quarkus.graal.AtmosphereDeferredInitializer

public class AtmosphereDeferredInitializer extends Object
Defers the initialization of executors at runtime to prevent failures during native build.
  • 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.