Comment #3 on issue 346 by ferncam1: AssistedInject:  Multi-type factories
http://code.google.com/p/google-guice/issues/detail?id=346

Looking at the code, I don't see a multi-binding improvement, yet.  The  
signature of
FactoryProvider2 still takes a single type.  It seems we would still need a  
lot of
boilerplate code to inject the following factory:

public interface AnimalFactory{
    Dog createDog(Color color);
    Cat createCat(Color color);
}

Am I missing something?


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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