net.esper.client
Class EPServiceProviderManager

java.lang.Object
  extended by net.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 uri)
          Returns an EPServiceProvider for a given registration URI.
static EPServiceProvider getProvider(String uri, Configuration configuration)
          Returns an EPServiceProvider for a given registration URI.
 
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 uri)
Returns an EPServiceProvider for a given registration URI.

Parameters:
uri - - the registration URI
Returns:
EPServiceProvider for the given registration URI.

getProvider

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

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