public final class EspritAppStarterLaunch extends AbstractApplicationLaunch<AppStarterConfig,AppStarterContext>
EspritAppStarter
.DO_NOT_EXIT, EXIT_CODE_CLP_ERROR, EXIT_CODE_LAUNCH_ERROR, isTestMode
Constructor and Description |
---|
EspritAppStarterLaunch(java.lang.String... args) |
Modifier and Type | Method and Description |
---|---|
protected AppStarterCLP |
createCommandLineParser(java.lang.String[] args)
Creates the CommandLineParser instance for launching the application.
|
protected AppStarterContext |
createContext(AppStarterConfig cfg)
Creates the application context from the Config object.
|
protected void |
handleLaunchError(AppStarterContext ctx,
java.lang.Exception error)
Calling this method terminates the VM.
|
protected void |
launchApplication(AppStarterContext ctx)
Must be implemented for running a non-GUI application
|
static void |
main(java.lang.String[] args) |
createSplashIcon, doOnContextCreated, doOnMainFrameCreated, getError, getLaunchedContext, getLaunchedMainFrame, handleCommandLineError, hasError, hasGui, launch, launchMainFrame, setTestMode, showFatalError, showFatalError
protected AppStarterContext createContext(AppStarterConfig cfg) throws java.lang.Exception
AbstractApplicationLaunch
createContext
in class AbstractApplicationLaunch<AppStarterConfig,AppStarterContext>
java.lang.Exception
protected AppStarterCLP createCommandLineParser(java.lang.String[] args)
AbstractApplicationLaunch
createCommandLineParser
in class AbstractApplicationLaunch<AppStarterConfig,AppStarterContext>
protected void handleLaunchError(AppStarterContext ctx, java.lang.Exception error)
AbstractApplicationLaunch
handleLaunchError
in class AbstractApplicationLaunch<AppStarterConfig,AppStarterContext>
protected void launchApplication(AppStarterContext ctx) throws java.lang.Exception
AbstractApplicationLaunch
launchApplication
in class AbstractApplicationLaunch<AppStarterConfig,AppStarterContext>
java.lang.Exception
public static void main(java.lang.String[] args)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.