|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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" |
|
|
typedActorOf(TypedProps<T> props)
Creates a new TypedActor with the specified properties |
|
|
typedActorOf(TypedProps<T> props,
ActorRef actorRef)
Creates a TypedActor that intercepts the calls and forwards them as TypedActor.MethodCall
to the provided ActorRef. |
|
|
typedActorOf(TypedProps<T> props,
java.lang.String name)
Creates a new TypedActor with the specified properties |
Method Detail |
---|
ActorRefFactory actorFactory()
TypedActorExtension typedActor()
boolean stop(java.lang.Object proxy)
proxy
- (undocumented)
boolean poisonPill(java.lang.Object proxy)
proxy
- (undocumented)
boolean isTypedActor(java.lang.Object proxyOrNot)
proxyOrNot
- (undocumented)
ActorRef getActorRefFor(java.lang.Object proxy)
proxy
- (undocumented)
<R,T extends R> R typedActorOf(TypedProps<T> props)
props
- (undocumented)
<R,T extends R> R typedActorOf(TypedProps<T> props, java.lang.String name)
props
- (undocumented)name
- (undocumented)
<R,T extends R> R typedActorOf(TypedProps<T> props, ActorRef actorRef)
TypedActor.MethodCall
to the provided ActorRef.
props
- (undocumented)actorRef
- (undocumented)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |