edu.vub.at.objects.natives
Class SAFLobby

java.lang.Object
  extended byedu.vub.at.actors.natives.SharedActorField
      extended byedu.vub.at.objects.natives.SAFLobby

public class SAFLobby
extends SharedActorField

SAFLobby initializes the lobby namespace with a slot for each directory in the object path. The slot name corresponds to the last name of the directory. The slot value corresponds to a namespace object initialized with the directory. If the user did not specify an objectpath, the default is .;$AT_OBJECTPATH;$AT_HOME

Author:
smostinc

Field Summary
private static AGSymbol _LOBBY_SYM_
           
private  java.io.File[] objectPathRoots_
           
 
Fields inherited from class edu.vub.at.actors.natives.SharedActorField
 
Constructor Summary
SAFLobby(java.io.File[] objectPathRoots)
           
 
Method Summary
 ATObject initialize()
          Hook to be overridden in order to initialize the field which should be installed in every actor's lexical root object.
 
Methods inherited from class edu.vub.at.actors.natives.SharedActorField
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_LOBBY_SYM_

private static final AGSymbol _LOBBY_SYM_

objectPathRoots_

private final java.io.File[] objectPathRoots_
Constructor Detail

SAFLobby

public SAFLobby(java.io.File[] objectPathRoots)
Method Detail

initialize

public ATObject initialize()
                    throws InterpreterException
Description copied from class: SharedActorField
Hook to be overridden in order to initialize the field which should be installed in every actor's lexical root object. The method is executed by the thread of the newly created actor, which can thus be accessed using ELActor.currentActor(). NOTE: if the return value is null, the field will not be added to the lexical root.

Specified by:
initialize in class SharedActorField
Returns:
the object to be assigned to the field with the specified name in the current actor's lexical root
Throws:
InterpreterException