Revision: 1070
Author: limpbizkit
Date: Wed Aug 26 14:19:08 2009
Log: Edited wiki page through web user interface.
http://code.google.com/p/google-guice/source/detail?r=1070
Modified:
/wiki/InjectionPoints.wiki
=======================================
--- /wiki/InjectionPoints.wiki Wed Aug 26 14:18:27 2009
+++ /wiki/InjectionPoints.wiki Wed Aug 26 14:19:08 2009
@@ -31,7 +31,7 @@
* Lookup the binding, creating a just-in-time binding if necessary. If
no just-in-time binding can be created, an error is reported.
* The binding is exercised to provide a value. How this works depends on
the type of the binding.
* The binding's value is set into the field. Injecting `final` fields is
not recommended because the injected value may not be visible to other
threads.
-If the field injection is `...@inject(optional=true)` and the binding neither
exists, nor can be created by a [JustInTimeBinding just-in-time binding],
the field injection is skipped.
+If the field injection is `...@inject(optional=true)` and the binding neither
exists, nor can be created by a [JustInTimeBindings just-in-time binding],
the field injection is skipped.
*To inject a method*, Guice will:
* Lookup bindings for all of the parameters, creating just-in-time
bindings if necessary. If any just-in-time binding cannot be created, an
error is reported.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---