|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectakka.actor.TypedActorExtension
public class TypedActorExtension
| Constructor Summary | |
|---|---|
TypedActorExtension(ExtendedActorSystem system)
|
|
| Method Summary | ||
|---|---|---|
protected ActorRefFactory |
actorFactory()
Underlying dependency is to be able to create normal Actors |
|
|
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" |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface akka.actor.TypedActorFactory |
|---|
poisonPill, stop, typedActorOf, typedActorOf, typedActorOf |
| Constructor Detail |
|---|
public TypedActorExtension(ExtendedActorSystem system)
| Method Detail |
|---|
public ExtendedActorSystem system()
protected ActorRefFactory actorFactory()
TypedActorFactory
actorFactory in interface TypedActorFactoryprotected TypedActorExtension typedActor()
TypedActorFactory
typedActor 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||