|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.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. |
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. |
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 ExtensionServicesContext getExtensionServicesContext()
EPServiceProviderSPI
getExtensionServicesContext
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()
EPServiceProviderSPI
destroy
in interface EPServiceProviderSPI
public boolean isDestroyed()
EPServiceProviderSPI
isDestroyed
in interface EPServiceProviderSPI
public void initialize()
EPServiceProvider
Stops and destroys any existing statement resources such as filters, patterns, expressions, views.
initialize
in interface EPServiceProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |