|
GraphLab Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgraphlab.platform.Application
public class Application
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 blackboard5- 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 |
---|
public static final java.lang.String APPLICATION_INSTANCE
public Plugger plugger
public static final java.lang.String POST_INIT_EVENT
public static BlackBoard blackboard
Constructor Detail |
---|
public Application()
Method Detail |
---|
public void run(BlackBoard blackboard)
blackboard
- main(String[])
public static BlackBoard getBlackBoard()
public BlackBoard init()
main(String[])
public void loadExtensions(BlackBoard blackboard)
blackboard
- protected java.net.URLClassLoader getExtensionsClassLoader()
public static void main(java.lang.String[] args)
Application#POST_INIT_EVENT
on blackboard
args
-
|
GraphLab Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |