|
||||||||||
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 | |
---|---|
Context |
getEnvContext()
|
EPAdministrator |
getEPAdministrator()
Returns a class instance of EPAdministrator. |
EPRuntime |
getEPRuntime()
Returns a class instance of EPRuntime. |
EventAdapterService |
getEventAdapterService()
Get the EventAdapterService for this engine. |
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. |
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 Context getEnvContext()
getEnvContext
in interface EPServiceProviderSPI
public void initialize()
EPServiceProvider
initialize
in interface EPServiceProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |