GraphLab Project

graphlab.platform
Class Application

java.lang.Object
  extended by graphlab.platform.Application
All Implemented Interfaces:
StorableOnExit
Direct Known Subclasses:
GraphLabDebugger

public class Application
extends java.lang.Object
implements StorableOnExit

The Main runner of program Author: reza


Field Summary
static java.lang.String APPLICATION_INSTANCE
           
static BlackBoard blackboard
          The default BlackBoard which plugins/extensions are connected to
 Plugger plugger
           
static java.lang.String POST_INIT_EVENT
           
 
Fields inherited from interface graphlab.platform.preferences.lastsettings.StorableOnExit
SETTINGS
 
Constructor Summary
Application()
           
 
Method Summary
static BlackBoard getBlackBoard()
           
protected  java.net.URLClassLoader getExtensionsClassLoader()
           
 BlackBoard init()
           
 void loadExtensions(BlackBoard blackboard)
          load all extensions from /extensions directory
static void main(java.lang.String[] args)
          Runs Application in these steps: 0- starts GraphLab exception handler, to catch uncaught exceptions
1- shows a splash on the screen, and redirect System.out to the splash screen
2- loads plugins which are jar files located in plugins directory
3- loads extensions which are files located in extensions directory
4- fires a Application#POST_INIT_EVENT on blackboard
5- hides the splash screen
 void run(BlackBoard blackboard)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPLICATION_INSTANCE

public static final java.lang.String APPLICATION_INSTANCE
See Also:
Constant Field Values

plugger

public Plugger plugger

POST_INIT_EVENT

public static final java.lang.String POST_INIT_EVENT
See Also:
Constant Field Values

blackboard

public static BlackBoard blackboard
The default BlackBoard which plugins/extensions are connected to

Constructor Detail

Application

public Application()
Method Detail

run

public void run(BlackBoard blackboard)
Parameters:
blackboard -
See Also:
main(String[])

getBlackBoard

public static BlackBoard getBlackBoard()

init

public BlackBoard init()
Returns:
See Also:
main(String[])

loadExtensions

public void loadExtensions(BlackBoard blackboard)
load all extensions from /extensions directory

Parameters:
blackboard -

getExtensionsClassLoader

protected java.net.URLClassLoader getExtensionsClassLoader()

main

public static void main(java.lang.String[] args)
Runs Application in these steps: 0- starts GraphLab exception handler, to catch uncaught exceptions
1- shows a splash on the screen, and redirect System.out to the splash screen
2- loads plugins which are jar files located in plugins directory
3- loads extensions which are files located in extensions directory
4- fires a Application#POST_INIT_EVENT on blackboard
5- hides the splash screen

Parameters:
args -

GraphLab Project