Class CommandServiceFactory$


  • public class CommandServiceFactory$
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static CommandServiceFactory$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ICommandService jMake​(Location componentLocation, akka.actor.typed.ActorSystem<?> actorSystem)
      Make a CommandService instance for java
      csw.command.api.scaladsl.CommandService make​(akka.actor.typed.ActorRef<ComponentMessage> component, akka.actor.typed.ActorSystem<?> actorSystem)  
      csw.command.api.scaladsl.CommandService make​(Location componentLocation, akka.actor.typed.ActorSystem<?> actorSystem)
      Make a CommandService instance for scala
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final CommandServiceFactory$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • CommandServiceFactory$

        public CommandServiceFactory$()
    • Method Detail

      • make

        public csw.command.api.scaladsl.CommandService make​(akka.actor.typed.ActorRef<ComponentMessage> component,
                                                            akka.actor.typed.ActorSystem<?> actorSystem)
      • make

        public csw.command.api.scaladsl.CommandService make​(Location componentLocation,
                                                            akka.actor.typed.ActorSystem<?> actorSystem)
        Make a CommandService instance for scala

        Parameters:
        componentLocation - the destination component location to which commands need to be sent
        actorSystem - of the component used for executing commands to other components and wait for the responses
        Returns:
        an instance of type CommandService
      • jMake

        public ICommandService jMake​(Location componentLocation,
                                     akka.actor.typed.ActorSystem<?> actorSystem)
        Make a CommandService instance for java

        Parameters:
        componentLocation - the destination component location to which commands need to be sent
        actorSystem - of the component used for executing commands to other components and wait for the responses
        Returns:
        an instance of type ICommandService