com.espertech.esper.client
Class EPServiceProviderManager

java.lang.Object
  extended by com.espertech.esper.client.EPServiceProviderManager

public final class EPServiceProviderManager
extends Object

Factory for instances of EPServiceProvider.


Constructor Summary
EPServiceProviderManager()
           
 
Method Summary
static EPServiceProvider getDefaultProvider()
          Returns the default EPServiceProvider.
static EPServiceProvider getDefaultProvider(Configuration configuration)
          Returns the default EPServiceProvider.
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPServiceProviderManager

public EPServiceProviderManager()
Method Detail

getDefaultProvider

public static EPServiceProvider getDefaultProvider()
Returns the default EPServiceProvider.

Returns:
default instance of the service.

getDefaultProvider

public static EPServiceProvider getDefaultProvider(Configuration configuration)
                                            throws ConfigurationException
Returns the default EPServiceProvider.

Parameters:
configuration - is the configuration for the service
Returns:
default instance of the service.
Throws:
ConfigurationException - to indicate a configuration problem

getProvider

public static EPServiceProvider getProvider(String providerURI)
Returns an EPServiceProvider for a given provider URI.

Parameters:
providerURI - - the provider URI
Returns:
EPServiceProvider for the given provider URI.

getProvider

public static EPServiceProvider getProvider(String providerURI,
                                            Configuration configuration)
                                     throws ConfigurationException
Returns an EPServiceProvider for a given provider URI.

Parameters:
providerURI - - the provider URI
configuration - is the configuration for the service
Returns:
EPServiceProvider for the given provider URI.
Throws:
ConfigurationException - to indicate a configuration problem

getProviderURIs

public static String[] getProviderURIs()
Returns a list of known provider URIs.

Returns a null-value for the default provider, or if no URI has been supplied when obtaining a service instance.

Returns URIs for all engine instances including destroyed instances.

Returns:
array of URI strings

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com