The servlet specification implies everything is a singleton (as
opposed to the alternative single-thread model).

On Tue, Feb 17, 2009 at 10:44 AM, Bob Lee <[email protected]> wrote:
> On Mon, Feb 16, 2009 at 3:42 PM, Dhanji R. Prasanna <[email protected]>
> wrote:
>>
>> Guice Servlet will complain if a binding is not explicitly or
>> implicitly ( annotated) in Singleton scope.
>
> Why does Guice Servlet impose this restriction? Seem like your servlet
> should be allowed to have any scope.
>
> Bob
>
>
> >
>

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