All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----edu.utah.janos.nodeos.FlowInitializer
| Summary |
class FlowInitializer
extends java.lang.Object
implements java.lang.Runnable
{
// Fields 3
private String[] args;
private CommSpaceHandle commSpaceHandle;
private String startClass;
// Constructors 1
private FlowInitializer(String, String[], CommSpaceHandle);
// Methods 5
static FlowInitializer createInFlow(Flow, FlowStartSpec);
private static FlowRun createStartClassInstance(Class) throws Error, NoSuchMethodException, IllegalAccessException, InstantiationException, InvocationTargetException;
private static void initializeFlow(Flow);
private static void startInitialClass(Flow, String, String[], CommSpaceHandle) throws ExceptionInInitializerError;
public void run();
}
Callback for initializing a new Flow (in the context of one of its own threads).
This class's run() should be a method on a Flow
object, but starting a thread requires a run() method, which would be visible to the world on
Flow.
XXX overlaps with the public FlowStartSpec?
| Cross Reference |
| Fields |
· commSpaceHandle | Summary | Top |
private CommSpaceHandle commSpaceHandle
· startClass | Summary | Top |
private String startClass
· args | Summary | Top |
private String[] args
| Constructors |
· FlowInitializer | Summary | Top |
private FlowInitializer(String startClass,
String[] args,
CommSpaceHandle commSpaceHandle)
| Methods |
· createInFlow | Summary | Top |
static FlowInitializer createInFlow(Flow flow,
FlowStartSpec fss)
Create the a FlowInitializer in the heap of the given flow (i.e., not the current flow).
- Returns:
- a cross-heap pointer to a FlowInitializer
· run | Summary | Top |
public void run()
- Implements:
- run in interface Runnable
· initializeFlow | Summary | Top |
private static void initializeFlow(Flow flow)
Initialize the flow object. Just creates the flow's class loader.
· startInitialClass | Summary | Top |
private static void startInitialClass(Flow flow,
String startClass,
String[] args,
CommSpaceHandle csh) throws ExceptionInInitializerError
Start the flow on its way.
· createStartClassInstance | Summary | Top |
private static FlowRun createStartClassInstance(Class c) throws Error, NoSuchMethodException, IllegalAccessException, InstantiationException, InvocationTargetException
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7