All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface Jaja.WorldAble

public interface WorldAble
extends Remote
The interface describing a World. A world is a place where evaluations may take place concurrently. All these evaluations share a common global environment. But every evaluation brings its own dynamic environment (where the current input and output ports are stored).

Every world may have an associated macro world where all macro-expansion are performed. A null macro-world means "don't expand". The macro world may have itself its own macro world etc.

QUESTION: How to parameterize Jaja wrt RMI or CORBA or DCOM etc...


Method Index

 o createEvaluation(String, DynamicEnvironment)
Create an evaluation (from a string).
 o createEvaluation(Value, DynamicEnvironment)
Create an evaluation (from a Value).
 o getEnvironment()
Get the current global environment of the world.
 o getMacroWorld()
Get the macro world where the current world macro-expand the expressions it has to evaluate.
 o getName()
Get the name of the world.
 o setEnvironment(Environment)
Set the global environment of the world.
 o setMacroWorld(WorldAble)
Set the macro world where the current world macro-expand the expressions it has to evaluate.

Methods

 o getName
 public abstract String getName() throws RemoteException
Get the name of the world.

 o getEnvironment
 public abstract Environment getEnvironment() throws RemoteException
Get the current global environment of the world.

 o setEnvironment
 public abstract void setEnvironment(Environment env) throws RemoteException
Set the global environment of the world. If env is null then use a default environment. This method should be used when initializing a world (ie at design-time in beans-parlance).

 o getMacroWorld
 public abstract WorldAble getMacroWorld() throws RemoteException
Get the macro world where the current world macro-expand the expressions it has to evaluate.

 o setMacroWorld
 public abstract void setMacroWorld(WorldAble world) throws RemoteException
Set the macro world where the current world macro-expand the expressions it has to evaluate. This method should be used when initializing a world (ie at design-time in beans-parlance).

 o createEvaluation
 public abstract EvaluationAble createEvaluation(String program,
                                                 DynamicEnvironment denv) throws RemoteException
Create an evaluation (from a string). You will have to start it.

 o createEvaluation
 public abstract EvaluationAble createEvaluation(Value program,
                                                 DynamicEnvironment denv) throws RemoteException
Create an evaluation (from a Value). You will have to start it.


All Packages  Class Hierarchy  This Package  Previous  Next  Index