https://github.com/google/guice/issues/935 is open about the different behaviors between requesting the interface vs requesting the impl... There shouldn't be a difference in behavior, right?
sam
--
You received this message because you are subscribed to the Google Groups "google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-guice...@googlegroups.com.
To post to this group, send email to google...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-guice.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/fae348f1-ff15-473b-91d4-aa24dfb7903c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
bind(ITestAop.class).to(TestAopImpl.class).in(Singleton.class); ITestAop test = injector.getInstance(ITestAop.class);
bind(TestAopImpl.class).in(Singleton.class); ITestAop test = injector.getInstance(TestAopImpl.class);