net.sf.genuine
Class Organizer

java.lang.Object
  extended bynet.sf.genuine.Organizer

public class Organizer
extends java.lang.Object

The Organizer is the main class of the Genuine framework. It is the starting point that creates the application's frame and initializes all modules that are part of the application. It is configured by an XML file.

Author:
Tim Wellhausen

Constructor Summary
Organizer(org.jdom.Document configurationDocument)
          Takes a JDOM document instance.
Organizer(java.lang.String configurationFilename)
          Takes the name of the XML configuration file.
 
Method Summary
 javax.swing.JFrame getFrame()
          Returns a reference to the main JFrame instance.
 ModuleManager getModuleManager()
          Returns a reference to the module manager
static void main(java.lang.String[] args)
          Starts the organizer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Organizer

public Organizer(java.lang.String configurationFilename)
          throws ConfigurationException
Takes the name of the XML configuration file.


Organizer

public Organizer(org.jdom.Document configurationDocument)
          throws ConfigurationException
Takes a JDOM document instance.

Method Detail

getFrame

public javax.swing.JFrame getFrame()
Returns a reference to the main JFrame instance.


getModuleManager

public ModuleManager getModuleManager()
Returns a reference to the module manager


main

public static void main(java.lang.String[] args)
Starts the organizer. Expects the name of the application configuration as parameter.