|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.core.EPServiceProviderImpl
public class EPServiceProviderImpl
Service provider encapsulates the engine's services for runtime and administration interfaces.
Constructor Summary | |
---|---|
EPServiceProviderImpl(Configuration configuration,
String engineURI)
Constructor - initializes services. |
Method Summary | |
---|---|
void |
destroy()
Destroys the service. |
ConfigurationInformation |
getConfigurationInformation()
Returns the current configuration. |
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. |
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. |
StatementLifecycleSvc |
getStatementLifecycleSvc()
Returns statement management service for the engine. |
TimerService |
getTimerService()
Returns the timer service. |
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. |
void |
setConfiguration(Configuration configuration)
Sets engine configuration information for use in the next initialize. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EPServiceProviderImpl(Configuration configuration, String engineURI) throws ConfigurationException
configuration
- is the engine configurationengineURI
- is the engine URI or null if this is the default provider
ConfigurationException
- is thrown to indicate a configuraton errorMethod Detail |
---|
public void setConfiguration(Configuration configuration)
configuration
- is the engine configspublic String getURI()
EPServiceProvider
getURI
in interface EPServiceProvider
public EPRuntime getEPRuntime()
EPServiceProvider
getEPRuntime
in interface EPServiceProvider
public EPAdministrator getEPAdministrator()
EPServiceProvider
getEPAdministrator
in interface EPServiceProvider
public EventAdapterService getEventAdapterService()
EPServiceProviderSPI
getEventAdapterService
in interface EPServiceProviderSPI
public SchedulingService getSchedulingService()
EPServiceProviderSPI
getSchedulingService
in interface EPServiceProviderSPI
public FilterService getFilterService()
EPServiceProviderSPI
getFilterService
in interface EPServiceProviderSPI
public TimerService getTimerService()
EPServiceProviderSPI
getTimerService
in interface EPServiceProviderSPI
public ConfigurationInformation getConfigurationInformation()
EPServiceProviderSPI
getConfigurationInformation
in interface EPServiceProviderSPI
public ExtensionServicesContext getExtensionServicesContext()
EPServiceProviderSPI
getExtensionServicesContext
in interface EPServiceProviderSPI
public StatementLifecycleSvc getStatementLifecycleSvc()
EPServiceProviderSPI
getStatementLifecycleSvc
in interface EPServiceProviderSPI
public Context getContext()
EPServiceProvider
An extension point designed for use by input and output adapters as well as other extension services.
getContext
in interface EPServiceProvider
getContext
in interface EPServiceProviderSPI
public void destroy()
EPServiceProvider
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.
destroy
in interface EPServiceProvider
public boolean isDestroyed()
EPServiceProvider
isDestroyed
in interface EPServiceProvider
public void initialize()
EPServiceProvider
Stops and destroys any existing statement resources such as filters, patterns, expressions, views.
initialize
in interface EPServiceProvider
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |