Annotation Type RegistryType
-
@Deprecated @Qualifier @Documented @Retention(RUNTIME) @Target({METHOD,FIELD,PARAMETER,ANNOTATION_TYPE}) public @interface RegistryType
Deprecated.As of rlease 5.0, please useRegistryScopeinsteadQualifies 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;- Author:
- Raymond Lam
- See Also:
MetricRegistry.Type
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description MetricRegistry.TypetypeDeprecated.The scope of the MetricRegistry.
-
-
-
Element Detail
-
type
MetricRegistry.Type type
Deprecated.The scope of the MetricRegistry.- Returns:
- Returns the scope of the MetricRegistry. The
MetricRegistry.Typecan beAPPLICATION,BASE, orVENDOR. - See Also:
MetricRegistry.Type
- Default:
- org.eclipse.microprofile.metrics.MetricRegistry.Type.APPLICATION
-
-