jist.runtime
Class Bootstrap.JavaMain

java.lang.Object
  extended by jist.runtime.Entity.Empty
      extended by jist.runtime.Bootstrap
          extended by jist.runtime.Bootstrap.JavaMain
All Implemented Interfaces:
Entity, Timeless
Enclosing class:
Bootstrap

static class Bootstrap.JavaMain
extends Bootstrap

A special-purpose Entity used to bootstrap the simulation. It merely calls the usual static main() method of the simulation application.

Since:
JIST1.0
Author:
Rimon Barr <barr+jist@cs.cornell.edu>

Nested Class Summary
 
Nested classes/interfaces inherited from class jist.runtime.Bootstrap
Bootstrap.Bsh, Bootstrap.JavaMain, Bootstrap.Jython, Bootstrap.StaticRunnableCaller
 
Nested classes/interfaces inherited from interface jist.runtime.Entity
Entity.Empty, Entity.Static
 
Field Summary
 
Fields inherited from class jist.runtime.Bootstrap
method_startSimulation
 
Fields inherited from class jist.runtime.Entity.Empty
_jistField__ref
 
Constructor Summary
Bootstrap.JavaMain()
           
 
Method Summary
 void startSimulation(Rewriter rewriter, java.lang.String classname, java.lang.String[] args, java.lang.Object properties)
          Entity method (invoked in simulation time) to perform bootstrap event.
 
Methods inherited from class jist.runtime.Bootstrap
create
 
Methods inherited from class jist.runtime.Entity.Empty
_jistMethod_Get__ref, _jistMethod_Set__ref
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bootstrap.JavaMain

Bootstrap.JavaMain()
Method Detail

startSimulation

public void startSimulation(Rewriter rewriter,
                            java.lang.String classname,
                            java.lang.String[] args,
                            java.lang.Object properties)
Entity method (invoked in simulation time) to perform bootstrap event.

Specified by:
startSimulation in class Bootstrap
Parameters:
rewriter - rewriting class loader instance
classname - script or application name
args - command-line arguments
properties - object passed through to specific bootstrap implementation