akka.actor
Interface TypedActorFactory

All Known Implementing Classes:
ContextualTypedActorFactory, TypedActorExtension

public interface TypedActorFactory

A TypedActorFactory is something that can created TypedActor instances.


Method Summary
 ActorRefFactory actorFactory()
          Underlying dependency is to be able to create normal Actors
 ActorRef getActorRefFor(java.lang.Object proxy)
          Retrieves the underlying ActorRef for the supplied TypedActor proxy, or null if none found
 boolean isTypedActor(java.lang.Object proxyOrNot)
          Returns wether the supplied AnyRef is a TypedActor proxy or not
 boolean poisonPill(java.lang.Object proxy)
          Sends a PoisonPill the underlying ActorRef for the supplied TypedActor proxy, if any, returns whether it could find the find the ActorRef or not
 boolean stop(java.lang.Object proxy)
          Stops the underlying ActorRef for the supplied TypedActor proxy, if any, returns whether it could find the find the ActorRef or not
 TypedActorExtension typedActor()
          Underlying dependency to a TypedActorExtension, which can either be contextual or ActorSystem "global"
<R,T extends R>
R
typedActorOf(TypedProps<T> props)
          Creates a new TypedActor with the specified properties
<R,T extends R>
R
typedActorOf(TypedProps<T> props, ActorRef actorRef)
          Creates a TypedActor that intercepts the calls and forwards them as TypedActor.MethodCall to the provided ActorRef.
<R,T extends R>
R
typedActorOf(TypedProps<T> props, java.lang.String name)
          Creates a new TypedActor with the specified properties
 

Method Detail

actorFactory

ActorRefFactory actorFactory()
Underlying dependency is to be able to create normal Actors

Returns:
(undocumented)

typedActor

TypedActorExtension typedActor()
Underlying dependency to a TypedActorExtension, which can either be contextual or ActorSystem "global"

Returns:
(undocumented)

stop

boolean stop(java.lang.Object proxy)
Stops the underlying ActorRef for the supplied TypedActor proxy, if any, returns whether it could find the find the ActorRef or not

Parameters:
proxy - (undocumented)
Returns:
(undocumented)

poisonPill

boolean poisonPill(java.lang.Object proxy)
Sends a PoisonPill the underlying ActorRef for the supplied TypedActor proxy, if any, returns whether it could find the find the ActorRef or not

Parameters:
proxy - (undocumented)
Returns:
(undocumented)

isTypedActor

boolean isTypedActor(java.lang.Object proxyOrNot)
Returns wether the supplied AnyRef is a TypedActor proxy or not

Parameters:
proxyOrNot - (undocumented)
Returns:
(undocumented)

getActorRefFor

ActorRef getActorRefFor(java.lang.Object proxy)
Retrieves the underlying ActorRef for the supplied TypedActor proxy, or null if none found

Parameters:
proxy - (undocumented)
Returns:
(undocumented)

typedActorOf

<R,T extends R> R typedActorOf(TypedProps<T> props)
Creates a new TypedActor with the specified properties

Parameters:
props - (undocumented)
Returns:
(undocumented)

typedActorOf

<R,T extends R> R typedActorOf(TypedProps<T> props,
                               java.lang.String name)
Creates a new TypedActor with the specified properties

Parameters:
props - (undocumented)
name - (undocumented)
Returns:
(undocumented)

typedActorOf

<R,T extends R> R typedActorOf(TypedProps<T> props,
                               ActorRef actorRef)
Creates a TypedActor that intercepts the calls and forwards them as TypedActor.MethodCall to the provided ActorRef.

Parameters:
props - (undocumented)
actorRef - (undocumented)
Returns:
(undocumented)