Annotation Interface RegistryType
@Qualifier
@Documented
@Retention(RUNTIME)
@Target({METHOD,FIELD,PARAMETER,ANNOTATION_TYPE})
public @interface RegistryType
Qualifies the type of Metric Registry to inject.
This can be used to obtain the respective scoped MetricRegistry
:
@Inject
@RegistryType(type=MetricRegistry.Type.BASE)
MetricRegistry baseRegistry;
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
type
MetricRegistry.Type type- Default:
- APPLICATION
-