Returns a contextual TypedActorFactory of this extension, this means that any TypedActors created by this TypedActorExtension will be children to the specified context, this allows for creating hierarchies of TypedActors.
--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To view this discussion on the web visit https://groups.google.com/d/msg/akka-user/-/XRDs-Ya5GPUJ.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.
We should add an example of how to create a supervisor hierarchy with typed actors. Current docs are close to non existant.
--
Jonas Bonér
We should add an example of how to create a supervisor hierarchy with typed actors. Current docs are close to non existant.
defget (context: ActorContext): TypedActorFactoryReturns a contextual TypedActorFactory of this extension, this means that any TypedActors created by this TypedActorExtension will be children to the specified context, this allows for creating hierarchies of TypedActors.
http://doc.akka.io/api/akka/2.0.1/#akka.actor.TypedActor$It's also described here: http://doc.akka.io/docs/akka/2.0.1/java/typed-actors.html
- //Returns a contextual instance of the Typed Actor Extension
- //this means that if you create other Typed Actors with this,
- //they will become children to the current Typed Actor.
- TypedActor.get(TypedActor.context());
Cheers,
√
On Thu, May 24, 2012 at 11:17 PM, Josh <paces...@gmail.com> wrote:
Is it possible to create a supervisor hierarchy consisting of typed actors in Java? The docs imply that it is possible:"Since you can obtain a contextual Typed Actor Extension by passing in an ActorContext you can create child Typed Actors by invoking typedActorOf(..) on that."But there doesn't appear to be a typedActorOf method on ActorContext. How do I create a supervisor hierarchy of typed actors?Followup question - when an exception occurs in an actor where the supervisor is a typed actor, and the exception is escalated, where does the exception go?Cheers,Josh
--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To view this discussion on the web visit https://groups.google.com/d/msg/akka-user/-/XRDs-Ya5GPUJ.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.
The second thing I was wondering about: Are failures intended to be handled ONLY by one of the pre-defined Directives?
Is there any way for a caller (typed actor)/message sender (untyped actor) to learn of a failure,
or for a supervisor to learn of a failure, and attempt to handle it?
To view this discussion on the web visit https://groups.google.com/d/msg/akka-user/-/ZqLpQlU1U0YJ.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/akka-user/-/XRwAeRSo488J.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.
>>>>> akka-user+unsubscribe@googlegroups.com.
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/akka-user?hl=en.
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Viktor Klang
>>>>
>>>> Akka Tech Lead
>>>> Typesafe - The software stack for applications that scale
>>>>
>>>> Twitter: @viktorklang
>>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Akka User List" group.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msg/akka-user/-/ZqLpQlU1U0YJ.
>>>
>>> To post to this group, send email to akka...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> akka-user+unsubscribe@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/akka-user?hl=en.
>>
>>
>>
>>
>> --
>> Viktor Klang
>>
>> Akka Tech Lead
>> Typesafe - The software stack for applications that scale
>>
>> Twitter: @viktorklang
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/akka-user/-/XRwAeRSo488J.
> To post to this group, send email to akka...@googlegroups.com.
> To unsubscribe from this group, send email to
> akka-user+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/akka-user?hl=en.
>
>
> Roland Kuhn
> Typesafe – The software stack for applications that scale.
> twitter: @rolandkuhn
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To post to this group, send email to akka...@googlegroups.com.
> To unsubscribe from this group, send email to
> akka-user+unsubscribe@googlegroups.com.