public interface LaunchHook
Modifier and Type | Method and Description |
---|---|
void |
setup(LaunchStep startupStep,
LaunchContext context)
Called during the last phase (startup step) of the bootstrap launcher.
|
void |
startup()
Called after setup() to start the application.
|
void |
staticSetup()
This setup will be called first, before setup(), but only the first time in a given JVM.
|
void staticSetup() throws java.lang.Exception
java.lang.Exception
void setup(LaunchStep startupStep, LaunchContext context) throws java.lang.Exception
startupStep
- The step being displayed. Use this step to affect the message, progress, indeterminate indication, etc
of the loading splash screen.context
- The launch context contains information gathered during the loading phase that should be relevant to the
starting application.java.lang.Exception
void startup() throws java.lang.Exception
java.lang.Exception