Package akka.actor

Class ContextualTypedActorFactory

  • All Implemented Interfaces:
    TypedActorFactory, java.io.Serializable, scala.Equals, scala.Product, scala.Serializable

    public final class ContextualTypedActorFactory
    extends java.lang.Object
    implements TypedActorFactory, scala.Product, scala.Serializable
    ContextualTypedActorFactory allows TypedActors to create children, effectively forming the same Actor Supervision Hierarchies as normal Actors can.
    See Also:
    Serialized Form
    • Method Detail

      • stop

        public static boolean stop​(java.lang.Object proxy)
      • poisonPill

        public static boolean poisonPill​(java.lang.Object proxy)
      • typedActorOf

        public static <R,​T extends R> R typedActorOf​(TypedProps<T> props)
      • typedActorOf

        public static <R,​T extends R> R typedActorOf​(TypedProps<T> props,
                                                           java.lang.String name)
      • typedActorOf

        public static <R,​T extends R> R typedActorOf​(TypedProps<T> props,
                                                           ActorRef actorRef)
      • getActorRefFor

        public ActorRef getActorRefFor​(java.lang.Object proxy)
        Description copied from interface: TypedActorFactory
        Retrieves the underlying ActorRef for the supplied TypedActor proxy, or null if none found
        Specified by:
        getActorRefFor in interface TypedActorFactory
        Parameters:
        proxy - (undocumented)
        Returns:
        (undocumented)
      • isTypedActor

        public boolean isTypedActor​(java.lang.Object proxyOrNot)
        Description copied from interface: TypedActorFactory
        Returns whether the supplied AnyRef is a TypedActor proxy or not
        Specified by:
        isTypedActor in interface TypedActorFactory
        Parameters:
        proxyOrNot - (undocumented)
        Returns:
        (undocumented)
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object