Hey,

what's about using a factory (assisted injection) to build instances?

Cheers Noc

Am 29.11.2011 14:18, schrieb Xanadu:
> hey !
>
> I have several implementations for one interface. So I'm using
> mapbinder to get one implementation for one string key. I need those
> implementations to be constructed lazily : that's why I decided to use
> provider for each implementation.
>
> My problem is that I have the following error :
>  "Binding to Provider is not allowed"
>
> Is this normal and do you know any workaround ?
>
> Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" 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?hl=en.

Reply via email to