Package akka.testkit

Class TestActorRef$

  • All Implemented Interfaces:
    java.io.Serializable

    public class TestActorRef$
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Detail

      • MODULE$

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

      • TestActorRef$

        public TestActorRef$()
    • Method Detail

      • randomName

        public java.lang.String randomName()
      • apply

        public <T extends ActorTestActorRef<T> apply​(scala.Function0<T> factory,
                                                       scala.reflect.ClassTag<T> evidence$1,
                                                       ActorSystem system)
      • apply

        public <T extends ActorTestActorRef<T> apply​(scala.Function0<T> factory,
                                                       java.lang.String name,
                                                       scala.reflect.ClassTag<T> evidence$2,
                                                       ActorSystem system)
      • create

        public <T extends ActorTestActorRef<T> create​(ActorSystem system,
                                                        Props props,
                                                        ActorRef supervisor,
                                                        java.lang.String name)
        Java API: create a TestActorRef in the given system for the given props, with the given supervisor and name.
        Parameters:
        system - (undocumented)
        props - (undocumented)
        supervisor - (undocumented)
        name - (undocumented)
        Returns:
        (undocumented)
      • create

        public <T extends ActorTestActorRef<T> create​(ActorSystem system,
                                                        Props props,
                                                        ActorRef supervisor)
        Java API: create a TestActorRef in the given system for the given props, with the given supervisor and a random name.
        Parameters:
        system - (undocumented)
        props - (undocumented)
        supervisor - (undocumented)
        Returns:
        (undocumented)
      • create

        public <T extends ActorTestActorRef<T> create​(ActorSystem system,
                                                        Props props,
                                                        java.lang.String name)
        Java API: create a TestActorRef in the given system for the given props, with the given name.
        Parameters:
        system - (undocumented)
        props - (undocumented)
        name - (undocumented)
        Returns:
        (undocumented)
      • create

        public <T extends ActorTestActorRef<T> create​(ActorSystem system,
                                                        Props props)
        Java API: create a TestActorRef in the given system for the given props, with a random name.
        Parameters:
        system - (undocumented)
        props - (undocumented)
        Returns:
        (undocumented)