Hello all, I would like to bind bean based on annotation type. How can I achieve that?
@Inject@RegistryType(type=APPLICATION)//type can be APPLICATION, BASE, VENDOR.private MetricRegistry registry; RegistryType is the annotation provided by specification, so I cannot add @BindingAnnotation. Please kindly advice Thanks -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-guice. To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/0a3aba6c-eb81-467b-b5d2-5afe78e95fcd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
