de.willuhn.jameica.system
Class Server

java.lang.Object
  extended by de.willuhn.jameica.system.Server
All Implemented Interfaces:
ApplicationController

public class Server
extends java.lang.Object
implements ApplicationController

Diese Klasse bildet den Serverloop der Anwendung ab.

Author:
willuhn

Constructor Summary
Server()
           
 
Method Summary
 ApplicationCallback getApplicationCallback()
          Erzeugt ein Callback-Objekt ueber das die Anwendung mit dem User kommunizieren kann.
 void init()
          Initialisiert den Controller.
 void shutDown()
          Beendet den Controller
 void start(BackgroundTask task)
          Startet einen Task im Hintergrund.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Server

public Server()
Method Detail

init

public void init()
          throws de.willuhn.util.ApplicationException
Description copied from interface: ApplicationController
Initialisiert den Controller.

Specified by:
init in interface ApplicationController
Throws:
de.willuhn.util.ApplicationException
See Also:
ApplicationController.init()

shutDown

public void shutDown()
Description copied from interface: ApplicationController
Beendet den Controller

Specified by:
shutDown in interface ApplicationController
See Also:
ApplicationController.shutDown()

getApplicationCallback

public ApplicationCallback getApplicationCallback()
Description copied from interface: ApplicationController
Erzeugt ein Callback-Objekt ueber das die Anwendung mit dem User kommunizieren kann.

Specified by:
getApplicationCallback in interface ApplicationController
Returns:
Callback.
See Also:
ApplicationController.getApplicationCallback()

start

public void start(BackgroundTask task)
Description copied from interface: ApplicationController
Startet einen Task im Hintergrund.

Specified by:
start in interface ApplicationController
Parameters:
task - der zu startende Task.
See Also:
ApplicationController.start(de.willuhn.jameica.system.BackgroundTask)