Known issue: http://code.google.com/p/google-guice/issues/detail?id=150 Seems to be fixed in the trunk.
Hope this helps. Robbie On Thu, Sep 4, 2008 at 10:45 PM, javadoc <[EMAIL PROTECTED]> wrote: > > hi > > i have a question about .in scoping: > > i used to bind against interfaces like: > bind(NewsService.class); > > with > > @ImplementedBy(NewsServiceImpl.class) > public interface NewsService ... > > now it looks like changing to > bind(NewsService.class).in(Scopes.SINGLETON); > > has no effect, while > > bind(NewsService.class).to(NewsServiceImpl.class).in(Scopes.SINGLETON); > > does. is this intended !? (using Guice1.0 as released) > > cu uwe > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-guice?hl=en -~----------~----~----~----~------~----~------~--~---
