xiaodududu / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
0 stars 0 forks source link

What are the use cases for @Toolable? #515

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is new to me.

Original issue reported on code.google.com by crazybob...@gmail.com on 1 Jul 2010 at 1:47

GoogleCodeExporter commented 9 years ago
Extensions need it in order to provide suitable values in Stage.TOOL for 
HasDependencies.getDependencies, and to make sure that the injector properly 
blows up if their dependencies can't be loaded.  See 
FactoryProvider2.initialize & 
FactoryProvider2Test.testFactoryFailsWithMissingBindingInToolStage, and 
Multibinder.RealMultibinder.initialize & 
MultibinderTest.testMultibinderDependenciesInToolStage & 
MapBinderTest.testMultibinderDependenciesInToolStage.

Original comment by sberlin on 1 Jul 2010 at 3:19

GoogleCodeExporter commented 9 years ago

Original comment by sberlin on 23 Nov 2010 at 1:29