SRJRCFrames
v0.1.296

de.schwarzrot.app.support
Class DesktopApplicationLauncher

java.lang.Object
  extended by de.schwarzrot.app.support.AbstractApplicationLauncher<DesktopConfig>
      extended by de.schwarzrot.app.support.DesktopApplicationLauncher

public class DesktopApplicationLauncher
extends AbstractApplicationLauncher<DesktopConfig>

cut off the gui-part of application initialization from AbstractApplicationLauncher, so launching of application can be done for background services too.

Author:
Reinhard Mantey

Field Summary
 
Fields inherited from class de.schwarzrot.app.support.AbstractApplicationLauncher
APPLICATION_TYPE, starter, sysInfo
 
Constructor Summary
DesktopApplicationLauncher(MainEntry<DesktopConfig> starter, String[] appContextFiles, List<String> appArgs)
          constructor - loads the given context's and validates configuration.
 
Method Summary
protected  AbstractApplicationContext init(String[] appContextFiles)
           
 void start()
          entry point for application startup
 
Methods inherited from class de.schwarzrot.app.support.AbstractApplicationLauncher
checkDBAccess, doUsage, dumpCharsets, getLogger, getStarter, getSysInfo, loadExtensions, parseAppArgs, printAppInfo, setSysInfo, sysDump
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DesktopApplicationLauncher

public DesktopApplicationLauncher(MainEntry<DesktopConfig> starter,
                                  String[] appContextFiles,
                                  List<String> appArgs)
constructor - loads the given context's and validates configuration.

Parameters:
starter - - the application startup class
appContextFiles - - the list of context-files to setup application
appArgs - - list of commandline parameters
Method Detail

start

public void start()
Description copied from class: AbstractApplicationLauncher
entry point for application startup

Overrides:
start in class AbstractApplicationLauncher<DesktopConfig>

init

protected AbstractApplicationContext init(String[] appContextFiles)
Overrides:
init in class AbstractApplicationLauncher<DesktopConfig>

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.