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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
addLastShutdownTask
(Runnable runnable) void
addShutdownTask
(Runnable runnable)
-
Constructor Details
-
ShutdownContextBuildItem
public ShutdownContextBuildItem()
-
-
Method Details
-
__returned$proxy$key
- Specified by:
__returned$proxy$key
in interfaceBytecodeRecorderImpl.ReturnedProxy
-
__static$$init
public boolean __static$$init()- Specified by:
__static$$init
in interfaceBytecodeRecorderImpl.ReturnedProxy
-
addShutdownTask
- Specified by:
addShutdownTask
in interfaceShutdownContext
-
addLastShutdownTask
- Specified by:
addLastShutdownTask
in interfaceShutdownContext
-