net.esper.core
Interface EPServiceProviderSPI

All Superinterfaces:
EPServiceProvider
All Known Implementing Classes:
EPServiceProviderImpl

public interface EPServiceProviderSPI
extends EPServiceProvider

A service provider interface that makes available internal engine services.


Method Summary
 void destroy()
          Destroys the service.
 Context getContext()
          Returns the engine environment context for engine-external resources such as adapters.
 EventAdapterService getEventAdapterService()
          Get the EventAdapterService for this engine.
 ExtensionServicesContext getExtensionServicesContext()
          Returns the extension services context.
 FilterService getFilterService()
          Returns the filter service.
 SchedulingService getSchedulingService()
          Get the SchedulingService for this engine.
 boolean isDestroyed()
          Returns true if the service is in destroyed state, or false if not.
 
Methods inherited from interface net.esper.client.EPServiceProvider
getEPAdministrator, getEPRuntime, getURI, initialize
 

Method Detail

getEventAdapterService

EventAdapterService getEventAdapterService()
Get the EventAdapterService for this engine.

Returns:
the EventAdapterService

getSchedulingService

SchedulingService getSchedulingService()
Get the SchedulingService for this engine.

Returns:
the SchedulingService

getFilterService

FilterService getFilterService()
Returns the filter service.

Returns:
filter service

getContext

Context getContext()
Returns the engine environment context for engine-external resources such as adapters.

Specified by:
getContext in interface EPServiceProvider
Returns:
engine environment context

getExtensionServicesContext

ExtensionServicesContext getExtensionServicesContext()
Returns the extension services context.

Returns:
extension services context

destroy

void destroy()
Destroys the service.


isDestroyed

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

Returns:
indicator whether the service has been destroyed