Comment by crazyboblee:

If the object truly is stateless, it's faster for Guice to create a new  
instance than it is to retrieve a singleton. If Guice creates a new  
instance every time, it can bypass the scoping layer entirely, not to  
mention the logic inside the singleton scope.


For more information:
http://code.google.com/p/google-guice/wiki/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
-~----------~----~----~----~------~----~------~--~---

Reply via email to