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.Serializable
Bundles 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
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JCswContext(ILocationService locationService, IEventService eventService, IAlarmService alarmService, TimeServiceScheduler timeServiceScheduler, JLoggerFactory loggerFactory, IConfigClientService configClientService, CurrentStatePublisher currentStatePublisher, CommandResponseManager commandResponseManager, ComponentInfo componentInfo)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description IAlarmService
alarmService()
abstract static R
apply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9)
CswContext
asScala()
Returns the Java API for this instance of csw servicesCommandResponseManager
commandResponseManager()
ComponentInfo
componentInfo()
IConfigClientService
configClientService()
CurrentStatePublisher
currentStatePublisher()
IEventService
eventService()
ILocationService
locationService()
JLoggerFactory
loggerFactory()
TimeServiceScheduler
timeServiceScheduler()
static java.lang.String
toString()
-
-
-
Constructor Detail
-
JCswContext
public JCswContext(ILocationService locationService, IEventService eventService, IAlarmService alarmService, TimeServiceScheduler timeServiceScheduler, JLoggerFactory loggerFactory, IConfigClientService configClientService, CurrentStatePublisher currentStatePublisher, CommandResponseManager commandResponseManager, 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()
-
currentStatePublisher
public CurrentStatePublisher currentStatePublisher()
-
commandResponseManager
public CommandResponseManager commandResponseManager()
-
componentInfo
public ComponentInfo componentInfo()
-
asScala
public CswContext asScala()
Returns the Java API for this instance of csw services- Returns:
- (undocumented)
-
-