org.ow2.jasmine.agent.server.discovery
Class DiscoveryManagerImpl

java.lang.Object
  extended by org.ow2.jasmine.agent.server.discovery.DiscoveryManagerImpl

public class DiscoveryManagerImpl
extends java.lang.Object

Implementation of the Discovery Service

Author:
Julien Vey

Method Summary
 Agent getAgentFromUUID(java.util.UUID id)
          Get an agent from its UUID
 java.util.List<Agent> getAgentList()
           
static DiscoveryManagerImpl getInstance()
          Get the unique instance
 java.util.Map<java.lang.Long,java.util.UUID> getServiceIdagentIdMatch()
           
 void launchDiscoveryOnAgent(java.lang.String agentId)
          Launch discovery on an agent
 void setAgentList(java.util.List<Agent> list)
           
 void setServiceIdagentIdMatch(java.util.Map<java.lang.Long,java.util.UUID> serviceIdagentIdMatch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DiscoveryManagerImpl getInstance()
Get the unique instance

Returns:
the unique instance

getAgentFromUUID

public Agent getAgentFromUUID(java.util.UUID id)
Get an agent from its UUID

Parameters:
id - the UUID of the agent
Returns:
the agent whose UUID is id

getAgentList

public java.util.List<Agent> getAgentList()
Returns:
the agentList

setAgentList

public void setAgentList(java.util.List<Agent> list)
Parameters:
agentList - the agentList to set

getServiceIdagentIdMatch

public java.util.Map<java.lang.Long,java.util.UUID> getServiceIdagentIdMatch()
Returns:
the serviceIdagentIdMatch

setServiceIdagentIdMatch

public void setServiceIdagentIdMatch(java.util.Map<java.lang.Long,java.util.UUID> serviceIdagentIdMatch)
Parameters:
serviceIdagentIdMatch - the serviceIdagentIdMatch to set

launchDiscoveryOnAgent

public void launchDiscoveryOnAgent(java.lang.String agentId)
Launch discovery on an agent

Parameters:
agentId -


Copyright © 2011 OW2 Consortium. All Rights Reserved.