Comment #12 on issue 131 by limpbizkit: partial injection a.k.a. factory  
generation
http://code.google.com/p/google-guice/issues/detail?id=131

@bslesinsky - I'm still iterating on the API, so I haven't checked it in  
yet. When I
do, the Javadoc for 'thatMakes()' will say that it can only make a single  
type.

I talked to jmourits, the other author of AssistedInject and he observed  
that in this
model, it becomes difficult to differentiate between 'regular dependencies'  
and
'factory dependencies'. The old assistedinject API had clear signals (ie.  
@Assisted)
when factories were necessary.

To accommodate this, I intend to change the behaviour so that all factory  
parameters
are bound with an @Assisted binding annotation. To allow for duplicate  
keys, this
annotation will permit an optional name.



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