ch.tatool.app
Class App

java.lang.Object
  extended by ch.tatool.app.App
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener

public class App
extends Object
implements org.springframework.context.ApplicationListener

Application entry point. Loads the ApplicationContext which in return instantiates this class, which finally kicks off the display of the UI once everything has been initialized.


Constructor Summary
App()
          Default constructor.
 
Method Summary
 GuiController getGuiController()
           
 ModuleService getModuleService()
           
 UserAccountService getUserAccountService()
           
static void main(String[] args)
          Main method.
 void onApplicationEvent(org.springframework.context.ApplicationEvent applicationEvent)
          Interface ApplicationListener.
 void setGuiController(GuiController guiController)
           
 void setModuleService(ModuleService moduleService)
           
 void setUserAccountService(UserAccountService userAccountService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

App

public App()
Default constructor.

Method Detail

onApplicationEvent

public void onApplicationEvent(org.springframework.context.ApplicationEvent applicationEvent)
Interface ApplicationListener.

Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener

getGuiController

public GuiController getGuiController()

setGuiController

public void setGuiController(GuiController guiController)

getUserAccountService

public UserAccountService getUserAccountService()

setUserAccountService

public void setUserAccountService(UserAccountService userAccountService)

getModuleService

public ModuleService getModuleService()

setModuleService

public void setModuleService(ModuleService moduleService)

main

public static void main(String[] args)
Main method. Loads the application through an application context. The main class App itself then performs the final initialization by displaying the corrrect window / pre-loading a default training if desired.



Copyright © 2012. All Rights Reserved.