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

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

public class DiscoveryManagerImpl
extends Object

Implementation of the Discovery Service

Author:
Julien Vey

Method Summary
 Agent getAgentFromUUID(UUID id)
          Get an agent from its UUID
 List<Agent> getAgentList()
           
static DiscoveryManagerImpl getInstance()
          Get the unique instance
 Map<Long,UUID> getServiceIdagentIdMatch()
           
 void launchDiscoveryOnAgent(String agentId)
          Launch discovery on an agent
 void setAgentList(List<Agent> list)
           
 void setServiceIdagentIdMatch(Map<Long,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(UUID id)
Get an agent from its UUID

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

getAgentList

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

setAgentList

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

getServiceIdagentIdMatch

public Map<Long,UUID> getServiceIdagentIdMatch()
Returns:
the serviceIdagentIdMatch

setServiceIdagentIdMatch

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

launchDiscoveryOnAgent

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

Parameters:
agentId -


Copyright © 2012 OW2 Consortium. All Rights Reserved.