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