public class StartupActionImpl extends Object implements StartupAction
| Constructor and Description |
|---|
StartupActionImpl(CuratedApplication curatedApplication,
BuildResult buildResult,
ClassLoader deploymentClassLoader) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader() |
RunningQuarkusApplication |
run(String... args)
Runs the application, and returns a handle that can be used to shut it down.
|
RunningQuarkusApplication |
runMainClass(String... args)
Runs the application by running the main method of the main class.
|
public StartupActionImpl(CuratedApplication curatedApplication, BuildResult buildResult, ClassLoader deploymentClassLoader)
public RunningQuarkusApplication runMainClass(String... args) throws Exception
ApplicationLifecycleManager.setDefaultExitCodeHandler(Consumer)
of the JVM will exit when the app stops.runMainClass in interface StartupActionExceptionpublic RunningQuarkusApplication run(String... args) throws Exception
run in interface StartupActionExceptionpublic ClassLoader getClassLoader()
getClassLoader in interface StartupActionCopyright © 2020 JBoss by Red Hat. All rights reserved.