com.espertech.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
 void destroy()
          Destroys the service.
 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.
 boolean isDestroyed()
          Returns true if the service is in destroyed state, or false if not.
 

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

destroy

void destroy()
Destroys the service.

Releases any resources held by the service. The service enteres a state in which operations provided by administrative and runtime interfaces originiated by the service are not guaranteed to operate properly.


isDestroyed

boolean isDestroyed()
Returns true if the service is in destroyed state, or false if not.

Returns:
indicator whether the service has been destroyed

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