This is what I did to make my service injectable (I have my own
version of the DefaultServiceModule), patch attached. One cavet, its
the first time I have used Guice, so I expect its wrong, but if not
please feel free to use (in apache jira I would have ticked the ASF
license checkbox).

Ian
(btw, I will not be in the slightest offended if you ignore the patch
:), I am only experimenting )




On 04/04/2008, Kevin Brown <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 4, 2008 at 12:58 AM, Ian Boston <[EMAIL PROTECTED]>
>  wrote:
>
>
>  > Would, longer term the intention be to define the services in a Guice
>  > Module that was referenced in the web.xml ?
>
>
>
> This would be the case today, but someone needs to wire up guice injection
>  in the social parts. The gadget renderer is thoroughly covered, but I only
>  did the most basic stuff to make the social data stuff work correctly. Since
>  that code is more subject to change than the renderer at the moment I
>  thought it best to leave it up to people who are actually actively working
>  with that code.
>
>  --
>
> ~Kevin
>

Reply via email to