public class OsgiDiscoveryAgent
extends java.lang.Object
implements org.apache.activemq.transport.discovery.DiscoveryAgent
| Constructor and Description |
|---|
OsgiDiscoveryAgent() |
| Modifier and Type | Method and Description |
|---|---|
long |
getUpdateInterval() |
void |
registerService(java.lang.String service) |
void |
serviceFailed(org.apache.activemq.command.DiscoveryEvent devent) |
void |
setDiscoveryListener(org.apache.activemq.transport.discovery.DiscoveryListener discoveryListener) |
void |
setPropertyName(java.lang.String propertyName) |
void |
setUpdateInterval(long updateInterval) |
void |
start() |
void |
stop() |
public void setPropertyName(java.lang.String propertyName)
public void registerService(java.lang.String service)
throws java.io.IOException
registerService in interface org.apache.activemq.transport.discovery.DiscoveryAgentjava.io.IOExceptionpublic void serviceFailed(org.apache.activemq.command.DiscoveryEvent devent)
throws java.io.IOException
serviceFailed in interface org.apache.activemq.transport.discovery.DiscoveryAgentjava.io.IOExceptionpublic void setDiscoveryListener(org.apache.activemq.transport.discovery.DiscoveryListener discoveryListener)
setDiscoveryListener in interface org.apache.activemq.transport.discovery.DiscoveryAgentpublic void start()
throws java.lang.Exception
start in interface org.apache.activemq.Servicejava.lang.Exceptionpublic void stop()
throws java.lang.Exception
stop in interface org.apache.activemq.Servicejava.lang.Exceptionpublic long getUpdateInterval()
public void setUpdateInterval(long updateInterval)
Copyright © 2014 Red Hat. All Rights Reserved.