According to the documentation: constructedType is a concrete class with an @Inject-annotated constructor. In addition to injector-supplied parameters, the constructor should have parameters that match each of the factory method's parameters. Each factory-supplied parameter requires an @Assisted annotation. You have your @Asissted annotation on a field. Try and add a parameter with type Domain to the constructor of TodoResource which is annotated with @Assisted and pass it to the super constructor of DomainResource Hope this works On 02/05/2014 09:36 PM, Rama Krishna
Gollapudi wrote:
-- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-guice+unsubscr...@googlegroups.com. To post to this group, send email to google-guice@googlegroups.com. Visit this group at http://groups.google.com/group/google-guice. For more options, visit https://groups.google.com/groups/opt_out. |
- Bind an abstract class with its implementation usin... Rama Krishna Gollapudi
- Re: Bind an abstract class with its implementa... Stuart McCulloch
- Re: Bind an abstract class with its implementa... Sam Berlin
- Re: Bind an abstract class with its implem... Rama Krishna Gollapudi
- Re: Bind an abstract class with its im... Rama Krishna Gollapudi
- Re: Bind an abstract class with it... Stephan Classen
- Re: Bind an abstract class wi... Rama Krishna Gollapudi
- Re: Bind an abstract clas... Stuart McCulloch
- Re: Bind an abstract class with its im... Sam Berlin
- Re: Bind an abstract class with it... Rama Krishna Gollapudi
- Re: Bind an abstract class wi... Sam Berlin
- Re: Bind an abstract clas... Rama Krishna Gollapudi