Posted those changes to GitHub in version 0.4.0:
https://github.com/chanan/AkkaGuice
On Thursday, January 23, 2014 7:06:41 AM UTC-5, Chanan Braunstein wrote:
>
> Hi Christopher,
>
> I am not sure I understood your suggestion. However if you meant the
> following:
>
> Add another annotation @RegisterProps such that:
>
> @RegisterProps("MyName")
> public class PerRequestActor extends UntypedActor
>
> Then instead of:
>
> getContext().actorOf(GuiceProvider.get(Akka.system()).props(PerRequestActor.class));
>
> do something like:
> getContext().actorOf(PropsContext.get(PerRequestActor.class));
> OR
> getContext().actorOf(PropsContext.get("PerRequestActor"));
> OR
> getContext().actorOf(PropsContext.get("MyName"));
>
> If that is what you meant (or not), I will add it shortly. If it is not
> what you meant, can you give a code example?
>
> Chanan
>
> On Thursday, January 23, 2014 4:44:26 AM UTC-5, Christopher Hunt wrote:
>>
>> My two cents:
>>
>> The actor system should be made available as something that is injectable
>> (a bean). The actor system should be used to resolve actor refs via actor
>> selection. Any actors that require construction either from the actor
>> system or the context should call upon the bean context to resolve
>> arguments for Props.
>>
>> HTH
>>
>
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.