org.almendra.janet.cas.central.interpreters
Class NodeStartedInterpreter

java.lang.Object
  extended by org.almendra.janet.cas.central.interpreters.CentralInterpreter
      extended by org.almendra.janet.cas.central.interpreters.NodeStartedInterpreter
All Implemented Interfaces:
IInterpreter
Direct Known Subclasses:
NodeStartedInterpreter

public class NodeStartedInterpreter
extends CentralInterpreter
implements IInterpreter

Author:
Oliver

Field Summary
static java.lang.String Label
           
protected  NodeStartedTrait nodeStartedTrait
           
protected  java.rmi.registry.Registry registry
           
static java.lang.String ViewTitle
           
 
Constructor Summary
NodeStartedInterpreter()
           
 
Method Summary
protected  void checkAlive(java.rmi.registry.Registry registry)
          Call registry to check that it is not simply a dead stub but an active instance
 StringVector commandNames()
           
 void execute(CommandAccessor cmdAccessor)
           
protected  CentralAnchor installNodeAnchor(IObjectSpace os, Node node)
           
protected  boolean registerNode(NodeStartedCommand command, IObjectSpace os)
           
protected  void shutdown()
           
 
Methods inherited from class org.almendra.janet.cas.central.interpreters.CentralInterpreter
getAnchor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ViewTitle

public static final java.lang.String ViewTitle
See Also:
Constant Field Values

Label

public static final java.lang.String Label
See Also:
Constant Field Values

registry

protected java.rmi.registry.Registry registry

nodeStartedTrait

protected NodeStartedTrait nodeStartedTrait
Constructor Detail

NodeStartedInterpreter

public NodeStartedInterpreter()
Method Detail

execute

public void execute(CommandAccessor cmdAccessor)
Specified by:
execute in interface IInterpreter

installNodeAnchor

protected CentralAnchor installNodeAnchor(IObjectSpace os,
                                          Node node)

shutdown

protected void shutdown()

registerNode

protected boolean registerNode(NodeStartedCommand command,
                               IObjectSpace os)
                        throws java.rmi.AccessException,
                               java.rmi.RemoteException,
                               java.rmi.AlreadyBoundException
Throws:
java.rmi.AccessException
java.rmi.RemoteException
java.rmi.AlreadyBoundException

checkAlive

protected void checkAlive(java.rmi.registry.Registry registry)
                   throws java.rmi.RemoteException,
                          java.rmi.AccessException
Call registry to check that it is not simply a dead stub but an active instance

Parameters:
registry -
Throws:
java.rmi.RemoteException
java.rmi.AccessException

commandNames

public StringVector commandNames()
Specified by:
commandNames in interface IInterpreter