@Thomas: I am using @Singleton annotation also.  Now I am getting friendly
with Guice and GWT combination. Thanks all for your support.


On Sat, Apr 13, 2013 at 2:40 PM, Thomas Broyer <[email protected]> wrote:

>
>
> On Saturday, April 13, 2013 12:48:21 AM UTC+2, Andrea Boscolo wrote:
>>
>> This is how GIN works, it always inject a new instance when requested. If
>> you want to inject the same instance, bind the dependency into Singleton
>> scope, using bind(YourClass.class).in(**Singleton.class), inside you
>> GinModule.
>>
>>
> Or annotating the view class with @Singleton.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Deepak Chauhan....

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to