Revision: 1071
Author: limpbizkit
Date: Wed Aug 26 14:20:06 2009
Log: Edited wiki page through web user interface.
http://code.google.com/p/google-guice/source/detail?r=1071

Modified:
  /wiki/InjectionPoints.wiki

=======================================
--- /wiki/InjectionPoints.wiki  Wed Aug 26 14:19:08 2009
+++ /wiki/InjectionPoints.wiki  Wed Aug 26 14:20:06 2009
@@ -31,10 +31,10 @@
    * 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 [JustInTimeBindings 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 [JustInTimeBindings created], 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.
    * The bindings are each exercised to provide a value. How this works  
depends on the types of the bindings.
    * The method is called, using the bindings' values as arguments.
-If the method injection is optional and a parameter's binding neither  
exists nor can be created, the method injection will be skipped.
+If the method injection is optional and a parameter's binding neither  
exists nor can be [JustInTimeBindings created], the method injection will  
be skipped.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to