public abstract class AbstractClientLaunch<G extends ClientConfig,C extends ClientContext> extends AbstractApplicationLaunch<G,C>
ApplicationContext
to a ClientContext
DO_NOT_EXIT, EXIT_CODE_CLP_ERROR, EXIT_CODE_LAUNCH_ERROR, isTestMode
Constructor and Description |
---|
AbstractClientLaunch(boolean hasGui,
G cfg) |
AbstractClientLaunch(boolean hasGui,
java.lang.String[] args) |
AbstractClientLaunch(G cfg) |
AbstractClientLaunch(java.lang.String[] args) |
Modifier and Type | Method and Description |
---|---|
protected ApplicationCommandLineParser |
createCommandLineParser(java.lang.String[] args)
Creates the CommandLineParser instance for launching the application.
|
protected void |
doOnMainFrameCreated(C ctx,
ZFrame frame)
Overridden to ensure that the command line option -autologin works
even if the ClientMainFrame was not started by a LoginFrame.
|
createContext, createSplashIcon, doOnContextCreated, getError, getLaunchedContext, getLaunchedMainFrame, handleCommandLineError, handleLaunchError, hasError, hasGui, launch, launchApplication, launchMainFrame, setTestMode, showFatalError, showFatalError
public AbstractClientLaunch(G cfg)
public AbstractClientLaunch(boolean hasGui, G cfg)
public AbstractClientLaunch(java.lang.String[] args)
public AbstractClientLaunch(boolean hasGui, java.lang.String[] args)
protected void doOnMainFrameCreated(C ctx, ZFrame frame) throws java.lang.Exception
doOnMainFrameCreated
in class AbstractApplicationLaunch<G extends ClientConfig,C extends ClientContext>
java.lang.Exception
protected ApplicationCommandLineParser createCommandLineParser(java.lang.String[] args)
AbstractApplicationLaunch
createCommandLineParser
in class AbstractApplicationLaunch<G extends ClientConfig,C extends ClientContext>
Copyright © 2014 EsprIT-Systems. All Rights Reserved.