public interface ApplicationBootstrap
| Modifier and Type | Interface and Description |
|---|---|
static class |
ApplicationBootstrap.RunInMain
Utility class that runs the bootstrap in a task.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(Artifact artifact,
String[] args,
boolean debugMode,
ApplicationBootstrap startup)
Utility method to start an application in a main.
|
IAsync<Exception> |
start(Application app,
WorkProgress progress)
Start the application, and return a synchronization point that will be unblocked when the application
is asked to shutdown.
|
IAsync<Exception> start(Application app, WorkProgress progress) throws ApplicationBootstrapException
WorkProgress.done() must be called on the given progress
to signal the end of the startup.ApplicationBootstrapExceptionstatic void main(Artifact artifact, String[] args, boolean debugMode, ApplicationBootstrap startup)
Copyright © 2019. All rights reserved.