net.esper.client
Interface EPServiceProvider

All Known Subinterfaces:
EPServiceProviderSPI
All Known Implementing Classes:
EPServiceProviderImpl

public interface EPServiceProvider

This class provides access to the EPRuntime and EPAdministrator implementations.


Method Summary
 Context getContext()
          Provides naming context for public named objects.
 EPAdministrator getEPAdministrator()
          Returns a class instance of EPAdministrator.
 EPRuntime getEPRuntime()
          Returns a class instance of EPRuntime.
 String getURI()
          Returns the provider URI, or null if this is the default provider.
 void initialize()
          Frees any resources associated with this runtime instance, and leaves the engine instance ready for further use.
 

Method Detail

getEPRuntime

EPRuntime getEPRuntime()
Returns a class instance of EPRuntime.

Returns:
an instance of EPRuntime

getEPAdministrator

EPAdministrator getEPAdministrator()
Returns a class instance of EPAdministrator.

Returns:
an instance of EPAdministrator

getContext

Context getContext()
Provides naming context for public named objects.

An extension point designed for use by input and output adapters as well as other extension services.

Returns:
naming context providing name-to-object bindings

initialize

void initialize()
Frees any resources associated with this runtime instance, and leaves the engine instance ready for further use.

Stops and destroys any existing statement resources such as filters, patterns, expressions, views.


getURI

String getURI()
Returns the provider URI, or null if this is the default provider.

Returns:
provider URI