I believe this behavior is a bug. I filed http://code.google.com/p/google-guice/issues/detail?id=673
Gili On Dec 8, 6:44 pm, Gili Tzabari <[email protected]> wrote: > Hi, > > This is a follow-up to issue > 329:http://code.google.com/p/google-guice/issues/detail?id=329 > > When I bind an AssistedInject factory as follows: > > install(new > FactoryModuleBuilder().build(RequestScopedCompletionHandlerBuilder.class)); > > Guice complains: > > RequestScopedCompletionHandlerBuilder cannot be used as a key; It > is not fully specified. > > Here is the factory definition: > > public interface RequestScopedCompletionHandlerBuilder > { > <V, A> RequestScopedCompletionHandler<V, A> build( > Class<? extends CompletionHandler<V, A>> handler); > } > > How could the factory be specified any further? The factory itself is > *not* Generic. Is this a bug? > > Thanks, > Gili -- 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.
