Class ShutdownListenerBuildItem

java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.deployment.builditem.ShutdownListenerBuildItem

public final class ShutdownListenerBuildItem extends io.quarkus.builder.item.MultiBuildItem
A build item that holds a ShutdownListener instance.

Allows registration of listeners to be notified during application shutdown.

  • Field Details

    • shutdownListener

      final io.quarkus.runtime.shutdown.ShutdownListener shutdownListener
  • Constructor Details

    • ShutdownListenerBuildItem

      public ShutdownListenerBuildItem(io.quarkus.runtime.shutdown.ShutdownListener shutdownListener)
  • Method Details

    • getShutdownListener

      public io.quarkus.runtime.shutdown.ShutdownListener getShutdownListener()