org.fusesource.mq.fabric
Class OsgiDiscoveryAgent
java.lang.Object
org.fusesource.mq.fabric.OsgiDiscoveryAgent
- All Implemented Interfaces:
- org.apache.activemq.Service, org.apache.activemq.transport.discovery.DiscoveryAgent
public class OsgiDiscoveryAgent
- extends java.lang.Object
- implements org.apache.activemq.transport.discovery.DiscoveryAgent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OsgiDiscoveryAgent
public OsgiDiscoveryAgent()
setPropertyName
public void setPropertyName(java.lang.String propertyName)
registerService
public void registerService(java.lang.String service)
throws java.io.IOException
- Specified by:
registerService in interface org.apache.activemq.transport.discovery.DiscoveryAgent
- Throws:
java.io.IOException
serviceFailed
public void serviceFailed(org.apache.activemq.command.DiscoveryEvent devent)
throws java.io.IOException
- Specified by:
serviceFailed in interface org.apache.activemq.transport.discovery.DiscoveryAgent
- Throws:
java.io.IOException
setDiscoveryListener
public void setDiscoveryListener(org.apache.activemq.transport.discovery.DiscoveryListener discoveryListener)
- Specified by:
setDiscoveryListener in interface org.apache.activemq.transport.discovery.DiscoveryAgent
start
public void start()
throws java.lang.Exception
- Specified by:
start in interface org.apache.activemq.Service
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Specified by:
stop in interface org.apache.activemq.Service
- Throws:
java.lang.Exception
getUpdateInterval
public long getUpdateInterval()
setUpdateInterval
public void setUpdateInterval(long updateInterval)
Copyright © 2014 Red Hat. All Rights Reserved.