public abstract class AbstractServerLaunch<G extends ServerConfig,C extends ServerContext> extends AbstractApplicationLaunch<G,C>
ApplicationContext
to ServerContext
and makes the ServerContext
accessible from the launch.DO_NOT_EXIT, EXIT_CODE_CLP_ERROR, EXIT_CODE_LAUNCH_ERROR, isTestMode
Constructor and Description |
---|
AbstractServerLaunch(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 |
launchApplication(C ctx)
Must be implemented for running a non-GUI application
|
createContext, createSplashIcon, doOnContextCreated, doOnMainFrameCreated, getError, getLaunchedContext, getLaunchedMainFrame, handleCommandLineError, handleLaunchError, hasError, hasGui, launch, launchMainFrame, setTestMode, showFatalError, showFatalError
protected final void launchApplication(C ctx) throws java.lang.Exception
AbstractApplicationLaunch
launchApplication
in class AbstractApplicationLaunch<G extends ServerConfig,C extends ServerContext>
java.lang.Exception
protected ApplicationCommandLineParser createCommandLineParser(java.lang.String[] args)
AbstractApplicationLaunch
createCommandLineParser
in class AbstractApplicationLaunch<G extends ServerConfig,C extends ServerContext>
Copyright © 2013 EsprIT-Systems. All Rights Reserved.