|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DiscoveryAgent
An agent used to discover other instances of a service. We typically use a discovery agent to auto-discover JMS clients and JMS brokers on a network
| Method Summary | |
|---|---|
void |
registerService(java.lang.String name)
register a service |
void |
serviceFailed(DiscoveryEvent event)
A process actively using a service may see it go down before the DiscoveryAgent notices the service's failure. |
void |
setDiscoveryListener(DiscoveryListener listener)
Sets the discovery listener |
| Methods inherited from interface org.apache.activemq.apollo.util.Service |
|---|
start, start, stop, stop |
| Method Detail |
|---|
void setDiscoveryListener(DiscoveryListener listener)
listener -
void registerService(java.lang.String name)
throws java.io.IOException
name - details -
JMSException
java.io.IOException
void serviceFailed(DiscoveryEvent event)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||