Package csw.framework.models
Class JCswContext
- java.lang.Object
-
- csw.framework.models.JCswContext
-
- All Implemented Interfaces:
java.io.Serializable,scala.Equals,scala.Product
public class JCswContext extends java.lang.Object implements scala.Product, java.io.SerializableBundles all the services provided by csw, supporting java apiparam: 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
CurrentStatefor this component param: commandResponseManager manages state of a received Submit command param: componentInfo component related information as described in the configuration file- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JCswContext(ILocationService locationService, IEventService eventService, IAlarmService alarmService, TimeServiceScheduler timeServiceScheduler, JLoggerFactory loggerFactory, IConfigClientService configClientService, CommandResponseManager commandResponseManager, CurrentStatePublisher currentStatePublisher, ComponentInfo componentInfo)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description IAlarmServicealarmService()abstract static Rapply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9)CswContextasScala()Returns the Java API for this instance of csw servicesCommandResponseManagercommandResponseManager()ComponentInfocomponentInfo()IConfigClientServiceconfigClientService()CurrentStatePublishercurrentStatePublisher()IEventServiceeventService()ILocationServicelocationService()JLoggerFactoryloggerFactory()TimeServiceSchedulertimeServiceScheduler()static java.lang.StringtoString()
-
-
-
Constructor Detail
-
JCswContext
public JCswContext(ILocationService locationService, IEventService eventService, IAlarmService alarmService, TimeServiceScheduler timeServiceScheduler, JLoggerFactory loggerFactory, IConfigClientService configClientService, CommandResponseManager commandResponseManager, CurrentStatePublisher currentStatePublisher, ComponentInfo componentInfo)
-
-
Method Detail
-
apply
public abstract static R apply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9)
-
toString
public static java.lang.String toString()
-
locationService
public ILocationService locationService()
-
eventService
public IEventService eventService()
-
alarmService
public IAlarmService alarmService()
-
timeServiceScheduler
public TimeServiceScheduler timeServiceScheduler()
-
loggerFactory
public JLoggerFactory loggerFactory()
-
configClientService
public IConfigClientService configClientService()
-
commandResponseManager
public CommandResponseManager commandResponseManager()
-
currentStatePublisher
public CurrentStatePublisher currentStatePublisher()
-
componentInfo
public ComponentInfo componentInfo()
-
asScala
public CswContext asScala()
Returns the Java API for this instance of csw services- Returns:
- (undocumented)
-
-