Author: limpbizkit
Date: Mon Jan 5 22:19:08 2009
New Revision: 800
Modified:
wiki/Scopes.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/Scopes.wiki
==============================================================================
--- wiki/Scopes.wiki (original)
+++ wiki/Scopes.wiki Mon Jan 5 22:19:08 2009
@@ -22,9 +22,9 @@
==Scopes and Concurrency==
-Classes annotated `...@singleton` and `...@sessionscoped` *must be
threadsafe*.
Everything that's injected into these classes must also be threadsafe. Use
[MinimizeMutability minimize mutability] to limit the amount of state that
requires concurrency protection.
+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.
+...@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.
==Applying Scopes==
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---