agentland.naming
Interface Resolver

All Superinterfaces:
Agent, Good, Managed, Remote, Spy
All Known Implementing Classes:
ResolverAgent

public interface Resolver
extends Managed


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 boolean addReference(Object o, Object reference)
           
 Vector getObjects(Object reference)
          Given a reference, this method should return a list of all objects associated with this reference
 Vector getObjects(String reference)
           
 Object getReference(Object o)
           
 Vector getReferences(Object o)
           
 boolean removeReference(Object o, Object reference)
           
 boolean removeReferences(Object o)
           
 boolean replaceReference(Object o, Object oldRef, Object newRef)
           
 
Methods inherited from interface agentland.resource.Managed
getNeed, replace, replace, resources, yank, yank
 
Methods inherited from interface agentland.util.Good
getHistory, getHistoryElement, resetHistory
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, getOldLogs, shutdown, startup, whereAreYou
 
Methods inherited from interface agentland.util.Spy
tell
 

Method Detail

getReferences

public Vector getReferences(Object o)
                     throws RemoteException

getReference

public Object getReference(Object o)
                    throws RemoteException

addReference

public boolean addReference(Object o,
                            Object reference)
                     throws RemoteException

replaceReference

public boolean replaceReference(Object o,
                                Object oldRef,
                                Object newRef)
                         throws RemoteException

removeReference

public boolean removeReference(Object o,
                               Object reference)
                        throws RemoteException

removeReferences

public boolean removeReferences(Object o)
                         throws RemoteException

getObjects

public Vector getObjects(Object reference)
                  throws RemoteException
Given a reference, this method should return a list of all objects associated with this reference

getObjects

public Vector getObjects(String reference)
                  throws RemoteException