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 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 instance
      configurationSnapshot - is a snapshot of configs at the time of runtime creation
      options - runtime options or null when not provided
      Returns:
      services context
    • createEPRuntime

      EPEventServiceImpl createEPRuntime(EPServicesContext services, AtomicBoolean serviceStatusProvider)