kaos.core.service.naming
Class KAoSAgentNamingService

java.lang.Object
  extended by kaos.core.service.naming.KAoSAgentNamingService
All Implemented Interfaces:
java.io.Serializable

public class KAoSAgentNamingService
extends java.lang.Object
implements java.io.Serializable

Implements the operations of a naming service producing a globally unique name.

See Also:
Serialized Form

Constructor Summary
KAoSAgentNamingService()
           
 
Method Summary
 AgentName createAgentName()
          Create AgentName.
 ServiceProperties getServiceProperties()
          Return ServiceProperties associated with this service.
 void setServiceProperties(ServiceProperties props)
          Set the properties of this service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KAoSAgentNamingService

public KAoSAgentNamingService()
Method Detail

createAgentName

public AgentName createAgentName()
                          throws NamingException,
                                 NamingFailure
Create AgentName.

Returns:
AgentName encapsulating a globally unique agent name.
Throws:
NamingException
NamingFailure
See Also:
javax.agent.AgentName, javax.agent.message.AcrAgentName, and ri.acr.AcrAgentName.

getServiceProperties

public ServiceProperties getServiceProperties()
Return ServiceProperties associated with this service.

Returns:
ServiceProperties describing this service - there are no ServiceProperties for this service.

setServiceProperties

public void setServiceProperties(ServiceProperties props)
Set the properties of this service.

Parameters:
props - The props describe properties of this service.