You can use this: * https://github.com/seam/solder/blob/develop/api/src/main/java/org/jboss/solder/serviceHandler/ServiceHandlerType.java
Which will then help you implement a generic "factory" to handle assisted inject. We're moving this (@SHT) feature into CDI 1.1. HTH -Ales p.s.: please let me know if/when/where you implement assisted inject on top of CDI > Hi All, > > The CDI spec's been out for a while now and we have implementations Weld and > WebBeans (coming soon). But I can't find a great deal of > documentation/content that talks about the integration of Guice with CDI. Is > this a good concept or flawed? > > AssistedInject: > One feature I really like in Guice is AssistedInject > (http://code.google.com/p/google-guice/wiki/AssistedInject). But I can't see > how this could be done in CDI. Even if we dropped the generated factories > through the use of annotations there is no way (AFAIK) to provide a blend of > both injected and supplied arguments to a @Produces method. > > Anyone got any thoughts and insight into this that they would care to share? > > --AH > > > > -- > 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. -- 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.
