Injection in a Resource

2012-02-07 Thread Gaetan Zoritchak
Hi all, I use guice in my applications. I need to inject some code (service) in a DynamicImageResource. It is not straightforward because a Resource is not a component. Does anybody has already done that? What would be the best way? Thanks in advance,

Re: Injection in a Resource

2012-02-07 Thread Carl-Eric Menzel
On Tue, 7 Feb 2012 16:08:37 +0100 Gaetan Zoritchak g.zoritc...@moncoachfinance.com wrote: Hi all, I use guice in my applications. I need to inject some code (service) in a DynamicImageResource. It is not straightforward because a Resource is not a component. Does anybody has already done

Re: Injection in a Resource

2012-02-07 Thread Gaetan Zoritchak
Thanks for that quick answer. 2012/2/7 Carl-Eric Menzel cmen...@wicketbuch.de On Tue, 7 Feb 2012 16:08:37 +0100 Gaetan Zoritchak g.zoritc...@moncoachfinance.com wrote: Hi all, I use guice in my applications. I need to inject some code (service) in a DynamicImageResource. It is not