Package io.quarkus.deployment.builditem
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 Summary
FieldsModifier and TypeFieldDescription(package private) final io.quarkus.runtime.shutdown.ShutdownListener -
Constructor Summary
ConstructorsConstructorDescriptionShutdownListenerBuildItem(io.quarkus.runtime.shutdown.ShutdownListener shutdownListener) -
Method Summary
Modifier and TypeMethodDescriptionio.quarkus.runtime.shutdown.ShutdownListener
-
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()
-