public class ClientLaunchHook extends java.lang.Object implements LaunchHook
| Modifier and Type | Class and Description |
|---|---|
class |
ClientLaunchHook.AutoLoginDelegate
Delegate class to make ClientLaunchHook more cohesive and to separate the auto login logic from the hook *
|
| Modifier and Type | Field and Description |
|---|---|
protected ClientContextImpl |
clientContext |
protected LaunchContext |
launchContext |
protected ProjectInitializationParams |
launchParams |
| Constructor and Description |
|---|
ClientLaunchHook() |
| Modifier and Type | Method and Description |
|---|---|
protected ClientLaunchHook.AutoLoginDelegate |
createLoginDelegate(LaunchContext launchContext,
Project project) |
protected void |
initI18N() |
void |
setup(LaunchStep startupStep,
LaunchContext context)
Called during the final "step" of the bootstrap launch process.
|
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.
|
protected LaunchContext launchContext
protected ProjectInitializationParams launchParams
protected ClientContextImpl clientContext
public void staticSetup()
LaunchHookstaticSetup in interface LaunchHookpublic void setup(LaunchStep startupStep, LaunchContext context) throws java.lang.Exception
Called during the final "step" of the bootstrap launch process.
setup in interface LaunchHookstartupStep - 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.Exceptionprotected ClientLaunchHook.AutoLoginDelegate createLoginDelegate(LaunchContext launchContext, Project project)
public void startup()
throws java.lang.Exception
LaunchHookstartup in interface LaunchHookjava.lang.Exceptionprotected void initI18N()