public class TypedActorExtension extends java.lang.Object implements TypedActorFactory, Extension
| Constructor and Description |
|---|
TypedActorExtension(ExtendedActorSystem system) |
| Modifier and Type | Method and Description |
|---|---|
protected ActorRefFactory |
actorFactory()
Underlying dependency is to be able to create normal Actors
|
Timeout |
DefaultReturnTimeout()
Default timeout for typed actor methods with non-void return type
|
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
|
ExtendedActorSystem |
system() |
protected TypedActorExtension |
typedActor()
Underlying dependency to a TypedActorExtension, which can either be contextual or ActorSystem "global"
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpoisonPill, stop, typedActorOf, typedActorOf, typedActorOfpublic TypedActorExtension(ExtendedActorSystem system)
public ExtendedActorSystem system()
protected ActorRefFactory actorFactory()
TypedActorFactoryactorFactory in interface TypedActorFactoryprotected TypedActorExtension typedActor()
TypedActorFactorytypedActor in interface TypedActorFactorypublic final Timeout DefaultReturnTimeout()
public ActorRef getActorRefFor(java.lang.Object proxy)
getActorRefFor in interface TypedActorFactorypublic boolean isTypedActor(java.lang.Object proxyOrNot)
isTypedActor in interface TypedActorFactory