|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object seda.sandStorm.main.Sandstorm
public class Sandstorm
This is the top-level class which acts as the "wrapper" and external interface to the Sandstorm runtime. By creating a Sandstorm object one can embed a Sandstorm system in another application. If you wish to run a standalone Sandstorm, this can be done from the commandline using the seda.sandStorm.main.Main class.
In general it is a good idea to have just one Sandstorm instance per JVM; multiple instances may interfere with one another in terms of resource allocation and thread scheduling.
Main
,
SandstormConfig
Field Summary | |
---|---|
private static Sandstorm |
globalSandstorm
|
private sandStormMgr |
mgr
|
Constructor Summary | |
---|---|
Sandstorm()
Create a new Sandstorm with the default configuration and no initial stages. |
|
Sandstorm(SandstormConfig config)
Create a new Sandstorm with the given configuration. |
|
Sandstorm(java.lang.String fname)
Create a new Sandstorm, reading the configuration from the given file. |
Method Summary | |
---|---|
ManagerIF |
getManager()
Return a handler to the ManagerIF for the Sandstorm instance. |
static Sandstorm |
getSandstorm()
Returns the currently-running Sandstorm instance, if any. |
SystemManagerIF |
getSystemManager()
Return a handle to the SystemManagerIF for the Sandstorm instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private sandStormMgr mgr
private static Sandstorm globalSandstorm
Constructor Detail |
---|
public Sandstorm() throws java.lang.Exception
java.lang.Exception
public Sandstorm(java.lang.String fname) throws java.lang.Exception
java.lang.Exception
public Sandstorm(SandstormConfig config) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public ManagerIF getManager()
public SystemManagerIF getSystemManager()
public static Sandstorm getSandstorm()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |