|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--springs.util.ReferenceServer
Utility class to search for references.
Field Summary | |
private static java.util.Hashtable |
_agentCache
Contains RMI references to static objects. |
Constructor Summary | |
ReferenceServer()
|
Method Summary | |
static java.lang.Object |
getAgent(springs.context.ContextAddress contextAddress,
java.lang.String agentName)
Obtains an agent at a certain address. |
static java.lang.Object |
getAgent(springs.context.ContextAddress contextAddress,
java.lang.String agentName,
boolean useCache)
Obtains an agent at a certain address. |
static springs.context.ContextManager |
getContextManager(springs.context.ContextAddress contextAddress)
Obtains the context manager at a certain address. |
static springs.rns.RegionNameServerInterface |
getRegionNameServerInterface()
Obtains an interface to the region name server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static java.util.Hashtable _agentCache
Hashtable
Constructor Detail |
public ReferenceServer()
Method Detail |
public static springs.context.ContextManager getContextManager(springs.context.ContextAddress contextAddress) throws CommunicationException
contextAddress
- the context address.
CommunicationException
- if error.ContextAddress
,
ContextManager
,
CommunicationException
public static java.lang.Object getAgent(springs.context.ContextAddress contextAddress, java.lang.String agentName, boolean useCache) throws CommunicationException
contextAddress
- the context address.agentName
- the agent name.useCache
- a boolean indicating whether the cache of agents should be used.
CommunicationException
- if error.ContextAddress
,
String
,
ContextManager
,
CommunicationException
public static java.lang.Object getAgent(springs.context.ContextAddress contextAddress, java.lang.String agentName) throws CommunicationException
contextAddress
- the context address.agentName
- the agent name.
CommunicationException
- if error.ContextAddress
,
String
,
ContextManager
,
CommunicationException
public static springs.rns.RegionNameServerInterface getRegionNameServerInterface() throws CommunicationException
CommunicationException
- if error.RegionNameServerInterface
,
CommunicationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |