kaos.core.service.util.grid
Class KAoSGridLocator

java.lang.Object
  extended by AcrLocator
      extended by kaos.core.service.util.DefaultKAoSLocator
          extended by kaos.core.service.util.grid.KAoSGridLocator
All Implemented Interfaces:
KAoSLocator

public class KAoSGridLocator
extends DefaultKAoSLocator

Defines the operations that can be invoked on a Locator containing agent's properties used in the CoABS Grid communication to register/lookup agents in the Grid registry.


Field Summary
static java.lang.String AGENT_REP
           
static java.lang.String ID
           
static java.lang.String NAME
           
static java.lang.String REGISTER_WITH_GRID
           
 
Fields inherited from interface kaos.core.KAoSLocator
NAME_KEY
 
Constructor Summary
KAoSGridLocator()
           
 
Method Summary
 AgentRep getAgentRep()
          Get the Agent Rep used to send/receive Grid messages.
 java.lang.String getId()
          Obtain the id property used as one of the fields to register and lookup agents in the Grid registry.
 java.lang.String getName()
          Obtain the name property used as one of the fields to register and lookup agents in the Grid registry.
 void setAgentRep(AgentRep agentRep)
          Set the Agent Rep used to send/receive Grid messages.
 void setId(java.lang.String id)
          Set the Id property used as one of the fields to register and lookup agents.
 void setName(java.lang.String name)
          Set the name property used as one of the fields to register and lookup agents in the Grid registry.
 
Methods inherited from class kaos.core.service.util.DefaultKAoSLocator
getTransportName, getTransportType, setTransportName, setTransportType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

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

ID

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

AGENT_REP

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

REGISTER_WITH_GRID

public static final java.lang.String REGISTER_WITH_GRID
See Also:
Constant Field Values
Constructor Detail

KAoSGridLocator

public KAoSGridLocator()
Method Detail

setName

public void setName(java.lang.String name)
Set the name property used as one of the fields to register and lookup agents in the Grid registry.

Parameters:
name - The name of the agent included in the Grid registration/lookup information.

getName

public java.lang.String getName()
Obtain the name property used as one of the fields to register and lookup agents in the Grid registry.

Returns:
String containing the name of the agent included in the Grid registration/lookup information.

setId

public void setId(java.lang.String id)
Set the Id property used as one of the fields to register and lookup agents. in the Grid registry.

Parameters:
id - The id of the agent included in the Grid registration/lookup information.

getId

public java.lang.String getId()
Obtain the id property used as one of the fields to register and lookup agents in the Grid registry.

Returns:
String containing the id of the agent included in the Grid registration/lookup information.

setAgentRep

public void setAgentRep(AgentRep agentRep)
Set the Agent Rep used to send/receive Grid messages.

Parameters:
agentRep - The agentRep to send/receive messages.

getAgentRep

public AgentRep getAgentRep()
Get the Agent Rep used to send/receive Grid messages.

Returns:
AgentRep The agentRep to send/receive messages.