On Friday, January 10, 2014 11:03:19 AM UTC+1, scl wrote:
>
> There is not bind(XXX).toProviderInstance(YYY) 
> Instead you can directly use the following: 
>
> Foo someInstance = new Foo(); 
> binder.bind(IFoo.class).toInstance(someInstance); 
>
> Thanks, very much.

Unfortunately, that's not what I want. The application was previously made 
to work with provider instances. (so-called factories)
To minimize changes, I'd like to leave it at that.

Jochen

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" 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-guice.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to