|
||||||||||
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 | |
---|---|
String |
getGroup()
|
void |
registerService(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 |
setBrokerName(String brokerName)
|
void |
setDiscoveryListener(DiscoveryListener listener)
Sets the discovery listener |
void |
setGroup(String group)
|
Methods inherited from interface org.apache.activemq.Service |
---|
start, stop |
Method Detail |
---|
void setDiscoveryListener(DiscoveryListener listener)
listener
- void registerService(String name) throws IOException
name
- details
-
javax.jms.JMSException
IOException
void serviceFailed(DiscoveryEvent event) throws IOException
IOException
String getGroup()
void setGroup(String group)
void setBrokerName(String brokerName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |