|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.agent.server.discovery.DiscoveryManagerSLSB
public class DiscoveryManagerSLSB
Stateless Session Bean to control the agents and the discovery
| Constructor Summary | |
|---|---|
DiscoveryManagerSLSB()
|
|
| Method Summary | |
|---|---|
AgentEvent |
agentToEvent(Agent a,
AgentEventType type)
Convert an Agent to an AgentEvent |
void |
bindAgentDiscoveryService(org.ow2.jasmine.agent.common.discovery.AgentDiscoveryService service,
org.osgi.framework.ServiceReference reference)
Bind any agent discovery service |
List<Agent> |
getAgentList()
|
void |
launchDiscoveryOnAgent(String idAgent)
Launch the discovery on an Agent |
void |
setAgentList(List<Agent> list)
|
void |
unbindAgentDiscoveryService(org.ow2.jasmine.agent.common.discovery.AgentDiscoveryService service,
org.osgi.framework.ServiceReference reference)
|
void |
updateAgent(String id)
Update an Agent |
void |
updateAgentListOnTopic(AgentEvent event)
Send an update on the JMS Topic about the agent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiscoveryManagerSLSB()
| Method Detail |
|---|
public List<Agent> getAgentList()
getAgentList in interface DiscoveryManagerpublic void setAgentList(List<Agent> list)
setAgentList in interface DiscoveryManagerpublic void launchDiscoveryOnAgent(String idAgent)
DiscoveryManager
launchDiscoveryOnAgent in interface DiscoveryManager
public void bindAgentDiscoveryService(org.ow2.jasmine.agent.common.discovery.AgentDiscoveryService service,
org.osgi.framework.ServiceReference reference)
service - the service bindedreference - the reference of the service
public void unbindAgentDiscoveryService(org.ow2.jasmine.agent.common.discovery.AgentDiscoveryService service,
org.osgi.framework.ServiceReference reference)
service - the service unbindedreference - the reference of the service
public AgentEvent agentToEvent(Agent a,
AgentEventType type)
a - the agent to converttype - the type of the event
public void updateAgent(String id)
DiscoveryManager
updateAgent in interface DiscoveryManagerpublic void updateAgentListOnTopic(AgentEvent event)
event -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||