public final class EPServiceProviderManager extends Object
EPServiceProvider
.Constructor and Description |
---|
EPServiceProviderManager() |
Modifier and Type | Method and Description |
---|---|
static EPServiceProvider |
getDefaultProvider()
Returns the default EPServiceProvider.
|
static EPServiceProvider |
getDefaultProvider(Configuration configuration)
Returns the default EPServiceProvider.
|
static EPServiceProvider |
getExistingProvider(String providerURI)
Returns an existing provider.
|
static EPServiceProvider |
getProvider(String providerURI)
Returns an EPServiceProvider for a given provider URI.
|
static EPServiceProvider |
getProvider(String providerURI,
Configuration configuration)
Returns an EPServiceProvider for a given provider URI.
|
static String[] |
getProviderURIs()
Returns a list of known provider URIs.
|
public static EPServiceProvider getDefaultProvider()
public static EPServiceProvider getDefaultProvider(Configuration configuration) throws ConfigurationException
configuration
- is the configuration for the serviceConfigurationException
- to indicate a configuration problempublic static EPServiceProvider getProvider(String providerURI)
Use the URI of "default" or null to return the default service provider.
providerURI
- - the provider URIpublic static EPServiceProvider getProvider(String providerURI, Configuration configuration) throws ConfigurationException
providerURI
- - the provider URI. If null provided it assumes "default".configuration
- is the configuration for the serviceConfigurationException
- to indicate a configuration problempublic static EPServiceProvider getExistingProvider(String providerURI)
providerURI
- - the provider URI. If null provided it assumes "default".public static String[] getProviderURIs()
Returns a the value "default" for the default provider.
Returns URIs for all engine instances including destroyed instances.