Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

recoin.system
Class ApplicationManager  view ApplicationManager download ApplicationManager.java

java.lang.Object
  extended byrecoin.system.ApplicationManager

public class ApplicationManager
extends java.lang.Object

The ApplicationManager represents the main class of the RECOIN framework. It is used to start the RuntimeManager and provides an administrative interface to configure and control the application, i.e. start and stop procedures.

Version:
0.2.9

Field Summary
private  recoin.gui.GUIManager guiManager
          The GUIManager.
(package private) static org.apache.log4j.Logger logger
          The logger for this class.
private  java.util.Hashtable properties
          The Hashtable in which the properties are stored.
private  PropertiesReader propertiesReader
          The PropertiesReader.
private  boolean running
          Boolean value to signal that the application has completed the starting procedure and is running.
private  RuntimeManager runtimeManager
          The RuntimeManager.
 
Constructor Summary
ApplicationManager(java.lang.String recoin_home)
          Creates a new ApplicationManager using the specified path to RECOIN_HOME.
 
Method Summary
 java.util.Hashtable getProperties()
          Returns the application properties from the properties file.
 java.util.Vector getRepositories()
          Returns the repositories from the properties file.
 boolean isRunning()
          Returns true if the start procedure of the application has completed.
static void main(java.lang.String[] args)
          The main method ensures that the path to the RECOIN_HOME directory is specified as a command line argument.
 void startRuntimeManager(java.util.Hashtable params)
          Starts the RuntimeManager using the values in the specified Hashtable.
 void stopRuntimeManager()
          Stops the RuntimeManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

properties

private java.util.Hashtable properties
The Hashtable in which the properties are stored.


running

private boolean running
Boolean value to signal that the application has completed the starting procedure and is running.


runtimeManager

private RuntimeManager runtimeManager
The RuntimeManager.


guiManager

private recoin.gui.GUIManager guiManager
The GUIManager.


propertiesReader

private PropertiesReader propertiesReader
The PropertiesReader.


logger

static org.apache.log4j.Logger logger
The logger for this class.

Constructor Detail

ApplicationManager

public ApplicationManager(java.lang.String recoin_home)
Creates a new ApplicationManager using the specified path to RECOIN_HOME.

Method Detail

main

public static void main(java.lang.String[] args)
The main method ensures that the path to the RECOIN_HOME directory is specified as a command line argument. If not, the application is terminated.


isRunning

public boolean isRunning()
Returns true if the start procedure of the application has completed.


startRuntimeManager

public void startRuntimeManager(java.util.Hashtable params)
Starts the RuntimeManager using the values in the specified Hashtable.


stopRuntimeManager

public void stopRuntimeManager()
Stops the RuntimeManager.


getProperties

public java.util.Hashtable getProperties()
Returns the application properties from the properties file.


getRepositories

public java.util.Vector getRepositories()
Returns the repositories from the properties file.