jist.runtime
Class Bootstrap
java.lang.Object
jist.runtime.Entity.Empty
jist.runtime.Bootstrap
- All Implemented Interfaces:
- Entity, Timeless
public abstract class Bootstrap
- extends Entity.Empty
Bootstrap entities to start simulations.
- Since:
- JIST1.0
Field Summary |
static java.lang.reflect.Method |
method_startSimulation
Method stub for event that starts the simulation. |
Constructor Summary |
protected |
Bootstrap()
Create a new bootstrap event; called only by sub-classes. |
Method Summary |
static void |
create(int type,
Controller controller,
java.lang.String name,
java.lang.String[] args,
java.lang.Object properties)
Create and enqueue a bootstrap event. |
abstract void |
startSimulation(Rewriter rewriter,
java.lang.String name,
java.lang.String[] args,
java.lang.Object properties)
Entity method (invoked in simulation time) to perform bootstrap event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
method_startSimulation
public static java.lang.reflect.Method method_startSimulation
- Method stub for event that starts the simulation.
Bootstrap
protected Bootstrap()
- Create a new bootstrap event; called only by sub-classes.
create
public static void create(int type,
Controller controller,
java.lang.String name,
java.lang.String[] args,
java.lang.Object properties)
throws java.rmi.RemoteException
- Create and enqueue a bootstrap event.
- Parameters:
type
- bootstrap event typecontroller
- where to register the bootstrap entity and enqueue eventname
- script or application nameargs
- command-line argumentsproperties
- object passed through to specific bootstrap implementation
- Throws:
java.rmi.RemoteException
- distributed simulation error
startSimulation
public abstract void startSimulation(Rewriter rewriter,
java.lang.String name,
java.lang.String[] args,
java.lang.Object properties)
- Entity method (invoked in simulation time) to perform bootstrap event.
- Parameters:
rewriter
- rewriting class loader instancename
- script or application nameargs
- command-line argumentsproperties
- object passed through to specific bootstrap implementation