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
|
<R,T extends R> |
createActorRefProxy(TypedProps<T> props,
java.util.concurrent.atomic.AtomicReference<R> proxyVar,
scala.Function0<ActorRef> actorRef)
INTERNAL API
|
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
|
TypedActor.TypedActorInvocationHandler |
invocationHandlerFor(java.lang.Object typedActor)
INTERNAL API
|
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 TypedActorFactoryproxy - (undocumented)public boolean isTypedActor(java.lang.Object proxyOrNot)
isTypedActor in interface TypedActorFactoryproxyOrNot - (undocumented)public <R,T extends R> R createActorRefProxy(TypedProps<T> props, java.util.concurrent.atomic.AtomicReference<R> proxyVar, scala.Function0<ActorRef> actorRef)
props - (undocumented)proxyVar - (undocumented)actorRef - (undocumented)public TypedActor.TypedActorInvocationHandler invocationHandlerFor(java.lang.Object typedActor)
typedActor - (undocumented)