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 SummaryModifier and TypeMethodDescriptionvoidsetup(LaunchStep startupStep, LaunchContext context) Called during the last phase (startup step) of the bootstrap launcher.voidstartup()Called after setup() to start the application.voidThis setup will be called first, before setup(), but only the first time in a given JVM.
- 
Method Details- 
staticSetupThis setup will be called first, before setup(), but only the first time in a given JVM.- Throws:
- Exception
 
- 
setupCalled 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
 
- 
startupCalled after setup() to start the application.- Throws:
- Exception
 
 
-