Package csw.framework.models
Class JCswContext
java.lang.Object
csw.framework.models.JCswContext
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
Bundles all the services provided by csw, supporting java api
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 long-running, started Submit command
param: componentInfo component related information as described in the configuration file
- See Also:
-
Constructor Summary
ConstructorDescriptionJCswContext
(ILocationService locationService, IEventService eventService, IAlarmService alarmService, TimeServiceScheduler timeServiceScheduler, JLoggerFactory loggerFactory, IConfigClientService configClientService, CurrentStatePublisher currentStatePublisher, CommandResponseManager commandResponseManager, ComponentInfo componentInfo) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
JCswContext
public JCswContext(ILocationService locationService, IEventService eventService, IAlarmService alarmService, TimeServiceScheduler timeServiceScheduler, JLoggerFactory loggerFactory, IConfigClientService configClientService, CurrentStatePublisher currentStatePublisher, CommandResponseManager commandResponseManager, ComponentInfo componentInfo)
-
-
Method Details
-
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
-
locationService
-
eventService
-
alarmService
-
timeServiceScheduler
-
loggerFactory
-
configClientService
-
currentStatePublisher
-
commandResponseManager
-
componentInfo
-
asScala
Returns the Java API for this instance of csw services- Returns:
- (undocumented)
-