Hey guys, I followed Tim Peierls' excellent tutorial on using Guice in Restlets
(found at
http://tembrel.blogspot.com/2008/07/resource-dependency-injection-in.html) and
found that, while it works quite well with 1.1m4, it does not work with 1.1m5.

The error seems to be in the Guice Provider for the Context class; it relies on
Context.getCurrent() which is returning null when called from within the custom
Finder. I have downloaded the source for m4 and m5, and am looking into writing
a patch for Tim's code to let it work with m5, but I am not optimistic if I
cannot get the current context from within the Finder.

If I get it to work, I will post the results here and on Tim's blog, but I was
hoping someone here (Tim suggested Jerome) might be able to give me some advice
on the matter.

Thanks!

Chris Lee

Reply via email to