From 2a057632d7f5fa3d1c77b9aa037263211c0e0290 Mon Sep 17 00:00:00 2001 From: rjtmahinay Date: Mon, 10 Jul 2023 01:22:32 +0800 Subject: [PATCH] Add QuarkusApplication javadoc * Fix #34463 --- .../src/main/java/io/quarkus/runtime/QuarkusApplication.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/runtime/src/main/java/io/quarkus/runtime/QuarkusApplication.java b/core/runtime/src/main/java/io/quarkus/runtime/QuarkusApplication.java index 350685123d513..87d2220eb9851 100644 --- a/core/runtime/src/main/java/io/quarkus/runtime/QuarkusApplication.java +++ b/core/runtime/src/main/java/io/quarkus/runtime/QuarkusApplication.java @@ -1,5 +1,9 @@ package io.quarkus.runtime; +/** + * This is usually used for command mode applications with a startup logic. The logic is executed inside + * {@link QuarkusApplication#run} method before the main application exits. + */ public interface QuarkusApplication { int run(String... args) throws Exception;