On Fri, Sep 14, 2012 at 9:57 AM, David Hoffer <[email protected]> wrote:

> Regarding custom annotations...does that solve this?


No, they are just a more type safe way of annotating your injections. I
prefer this approach over @Named as a general rule because I don't like to
rely on strings, but it's not always possible (e.g. if you use your own
injection marker annotation, which can't take a generic enum as a
parameter, only a specific one).

-- 
Cédric

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

Reply via email to