Interface LaunchHook
- All Known Implementing Classes:
ClientLaunchHook
,DesignerStartupHook
public interface LaunchHook
The interface that any class that want sto be launched by the bootstrap launcher must implement
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
This setup will be called first, before setup(), but only the first time in a given JVM.
-
Method Details
-
staticSetup
This setup will be called first, before setup(), but only the first time in a given JVM.- Throws:
Exception
-
setup
Called during the last phase (startup step) of the bootstrap launcher. Gives the launching app a chance to do long-running and/or fragile things while the loading splash screen is still up.- Parameters:
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.- Throws:
Exception
-
startup
Called after setup() to start the application.- Throws:
Exception
-