Class CswContext


  • public class CswContext
    extends java.lang.Object
    Bundles all the services provided by csw

    param: locationService the single instance of location service param: eventService the single instance of event service with default publishers and subscribers as well as the capability to create new ones param: alarmService the single instance of alarm service that allows setting severity for an alarm param: loggerFactory factory to create suitable logger instance param: currentStatePublisher the pub sub actor to publish state represented by CurrentState for this component param: commandResponseManager manages state of a started Submit command param: componentInfo component related information as described in the configuration file

    • Constructor Detail

      • CswContext

        public CswContext​(csw.location.api.scaladsl.LocationService locationService,
                          csw.event.api.scaladsl.EventService eventService,
                          csw.alarm.api.scaladsl.AlarmService alarmService,
                          TimeServiceScheduler timeServiceScheduler,
                          csw.logging.client.scaladsl.LoggerFactory loggerFactory,
                          csw.config.api.scaladsl.ConfigClientService configClientService,
                          CurrentStatePublisher currentStatePublisher,
                          CommandResponseManager commandResponseManager,
                          ComponentInfo componentInfo)
    • Method Detail

      • locationService

        public csw.location.api.scaladsl.LocationService locationService()
      • eventService

        public csw.event.api.scaladsl.EventService eventService()
      • alarmService

        public csw.alarm.api.scaladsl.AlarmService alarmService()
      • loggerFactory

        public csw.logging.client.scaladsl.LoggerFactory loggerFactory()
      • configClientService

        public csw.config.api.scaladsl.ConfigClientService configClientService()