Package io.quarkus.deployment.builditem
Class ShutdownContextBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.SimpleBuildItem
io.quarkus.deployment.builditem.ShutdownContextBuildItem
- All Implemented Interfaces:
BytecodeRecorderImpl.ReturnedProxy,ShutdownContext
public final class ShutdownContextBuildItem
extends SimpleBuildItem
implements ShutdownContext, BytecodeRecorderImpl.ReturnedProxy
A build item that can be used to register shutdown tasks in runtime recorders.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.runtime.ShutdownContext
ShutdownContext.CloseRunnable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidaddLastShutdownTask(Runnable runnable) voidaddShutdownTask(Runnable runnable)
-
Constructor Details
-
ShutdownContextBuildItem
public ShutdownContextBuildItem()
-
-
Method Details
-
__returned$proxy$key
- Specified by:
__returned$proxy$keyin interfaceBytecodeRecorderImpl.ReturnedProxy
-
__static$$init
public boolean __static$$init()- Specified by:
__static$$initin interfaceBytecodeRecorderImpl.ReturnedProxy
-
addShutdownTask
- Specified by:
addShutdownTaskin interfaceShutdownContext
-
addLastShutdownTask
- Specified by:
addLastShutdownTaskin interfaceShutdownContext
-