google-code-export / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
2 stars 1 forks source link

Make ServletScopes.REQUEST fully-featured #394

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
So that it can be entered and exited for other purposes. It's convenient to use 
the same request 
scope annotation for multiple request transports in the same application (HTTP 
and RPC). 
Unfortunately, ServletScopes.REQUEST is opaque.

Original issue reported on code.google.com by limpbizkit on 19 Jun 2009 at 9:48

GoogleCodeExporter commented 9 years ago
If you use in(RequestScoped.class) instead of in(Scopes.REQUEST) everywhere you 
are
free to bind a custom scope implementation.

Original comment by w.schoen...@gmail.com on 13 Apr 2010 at 11:15

GoogleCodeExporter commented 9 years ago

Original comment by sberlin on 22 Feb 2011 at 1:41

GoogleCodeExporter commented 9 years ago

Original comment by sberlin on 22 Feb 2011 at 1:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This is now possible with scopeRequest()

Original comment by dha...@gmail.com on 27 May 2014 at 8:28