public class DiscoveryProviderFactory extends ProviderFactory
Modifier and Type | Field and Description |
---|---|
static String |
DISCOVERY_DISCOVERED_OPTION_PREFIX_ADON
Prefix addon used for all properties that should be applied to any discovered remote URIs.
|
static String |
DISCOVERY_OPTION_PREFIX
Prefix used for all properties that apply specifically to the DiscoveryProvider
|
Constructor and Description |
---|
DiscoveryProviderFactory() |
Modifier and Type | Method and Description |
---|---|
Provider |
createProvider(URI remoteURI)
Creates an instance of the given AsyncProvider and configures it using the
properties set on the given remote broker URI.
|
String |
getName() |
create, findProviderFactory
public static final String DISCOVERY_OPTION_PREFIX
public static final String DISCOVERY_DISCOVERED_OPTION_PREFIX_ADON
public Provider createProvider(URI remoteURI) throws Exception
ProviderFactory
createProvider
in class ProviderFactory
remoteURI
- The URI used to connect to a remote Broker.Exception
- if an error occurs while creating the Provider instance.public String getName()
getName
in class ProviderFactory
Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.