Interface EPServicesContextFactory
- All Known Implementing Classes:
EPServicesContextFactoryBase
,EPServicesContextFactoryDefault
public interface EPServicesContextFactory
Interface for a factory class to provide services in a services context for an runtime instance.
-
Method Summary
Modifier and TypeMethodDescriptioncreateEPRuntime
(EPServicesContext services, AtomicBoolean serviceStatusProvider) createServicesContext
(EPRuntimeSPI epRuntime, com.espertech.esper.common.client.configuration.Configuration configurationSnapshot, EPRuntimeOptions options) Factory method for a new set of runtime services.
-
Method Details
-
createServicesContext
EPServicesContext createServicesContext(EPRuntimeSPI epRuntime, com.espertech.esper.common.client.configuration.Configuration configurationSnapshot, EPRuntimeOptions options) Factory method for a new set of runtime services.- Parameters:
epRuntime
- is the runtime instanceconfigurationSnapshot
- is a snapshot of configs at the time of runtime creationoptions
- runtime options or null when not provided- Returns:
- services context
-
createEPRuntime
-