Author: limpbizkit
Date: Sat Feb 28 23:18:05 2009
New Revision: 878

Modified:
    wiki/Scopes.wiki

Log:
Edited wiki page through web user interface.

Modified: wiki/Scopes.wiki
==============================================================================
--- wiki/Scopes.wiki    (original)
+++ wiki/Scopes.wiki    Sat Feb 28 23:18:05 2009
@@ -71,4 +71,4 @@
  ==Scopes and Concurrency==
  Classes annotated `...@singleton` and `...@sessionscoped` *must be 
threadsafe*.  
Everything that's injected into these classes must also be threadsafe.  
[MinimizeMutability Minimize mutability] to limit the amount of state that  
requires concurrency protection.

-...@requestscoped objects do not need to be threadsafe. It is usually an  
error for a `Singleton` or `SessionScoped` object to depend on an  
`RequestScoped` one. Should you require an object in a narrower scope,  
inject a `Provider` of that object.
\ No newline at end of file
+...@requestscoped` objects do not need to be threadsafe. It is usually an  
error for a `...@singleton` or `...@sessionscoped` object to depend on an  
`...@requestscoped` one. Should you require an object in a narrower scope,  
inject a `Provider` of that object.
\ No newline at end of file

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