Class MulticastDiscoveryAgentFactory
- java.lang.Object
-
- org.apache.qpid.jms.provider.discovery.DiscoveryAgentFactory
-
- org.apache.qpid.jms.provider.discovery.multicast.MulticastDiscoveryAgentFactory
-
public class MulticastDiscoveryAgentFactory extends DiscoveryAgentFactory
Creates and configures a new instance of the mutlicast agent.
-
-
Constructor Summary
Constructors Constructor Description MulticastDiscoveryAgentFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscoveryAgentcreateDiscoveryAgent(URI discoveryURI)Creates an instance of the given DiscoveryAgent and configures it using the properties set on the given remote broker URI.StringgetName()-
Methods inherited from class org.apache.qpid.jms.provider.discovery.DiscoveryAgentFactory
createAgent, findAgentFactory
-
-
-
-
Method Detail
-
createDiscoveryAgent
public DiscoveryAgent createDiscoveryAgent(URI discoveryURI) throws Exception
Description copied from class:DiscoveryAgentFactoryCreates an instance of the given DiscoveryAgent and configures it using the properties set on the given remote broker URI.- Specified by:
createDiscoveryAgentin classDiscoveryAgentFactory- Parameters:
discoveryURI- The URI used to configure remote discovery.- Returns:
- a new DiscoveryAgent instance.
- Throws:
Exception- if an error occurs while creating the DiscoveryAgent instance.
-
getName
public String getName()
- Specified by:
getNamein classDiscoveryAgentFactory- Returns:
- the name of this discovery agent, e.g. Multicast, Zeroconf, etc.
-
-