ProviderMethods are now automatically installed from their module. That means that the following Injector will have "A" bound to the String:
  Guice.createInjector(new AbstractModule() {
    public void configure() { }
    @Provides public String provideString() { return "A"; }
  );

If the user already installed the provider methods for the same module instance, things will still work okay.

git-svn-id: https://google-guice.googlecode.com/svn/trunk@589 d779f126-a31b-0410-b53b-1d3aecad763e
6 files changed