On Oct 28, 4:08 pm, Karthik Krishnan <[email protected]> wrote:
> Does my factory have to implement an interface? In our code base, the
> convention is not to have a factory implement an interface. Is there
> an alternative?
AssistedInject requires an interface. Alternately, you create a
factory class that receives injected providers, and uses those to
create instances.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---