Revision: 1126 Author: limpbizkit Date: Sat Nov 7 17:19:29 2009 Log: Edited wiki page through web user interface. http://code.google.com/p/google-guice/source/detail?r=1126
Modified: /wiki/Bindings.wiki ======================================= --- /wiki/Bindings.wiki Mon Mar 2 21:24:57 2009 +++ /wiki/Bindings.wiki Sat Nov 7 17:19:29 2009 @@ -5,7 +5,7 @@ ==Creating Bindings== To create bindings, extend `AbstractModule` and override its `configure` method. In the method body, call `bind()` to specify each binding. These methods are type checked so the compiler can report errors if you use the wrong types. Once you've created your modules, pass them as arguments to `Guice.createInjector()` to build an injector. -Use modules to create [LinkedBindings linked bindings], [InstanceBindings instance bindings], [ProvidesMethods @Provides methods], and [ProviderBindings provider bindings]. +Use modules to create [LinkedBindings linked bindings], [InstanceBindings instance bindings], [ProvidesMethods @Provides methods], [ProviderBindings provider bindings] and [UntargettedBindings untargetted bindings]. ==More Bindings== In addition to the bindings you specify the injector includes [BuiltInBindings built-in bindings]. When a dependency is requested but not found it attempts to create a [JustInTimeBindings just-in-time binding]. The injector also includes bindings for the [InjectingProviders providers] of its other bindings. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice-dev" 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-dev?hl=en -~----------~----~----~----~------~----~------~--~---
