Interface LaunchHook
-
- All Known Implementing Classes:
ClientLaunchHook,DesignerStartupHook
public interface LaunchHookThe interface that any class that want sto be launched by the bootstrap launcher must implement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetup(LaunchStep startupStep, LaunchContext context)Called during the last phase (startup step) of the bootstrap launcher.voidstartup()Called after setup() to start the application.voidstaticSetup()This setup will be called first, before setup(), but only the first time in a given JVM.
-
-
-
Method Detail
-
staticSetup
void staticSetup() throws java.lang.ExceptionThis setup will be called first, before setup(), but only the first time in a given JVM.- Throws:
java.lang.Exception
-
setup
void setup(LaunchStep startupStep, LaunchContext context) throws java.lang.Exception
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:
java.lang.Exception
-
startup
void startup() throws java.lang.ExceptionCalled after setup() to start the application.- Throws:
java.lang.Exception
-
-