Annotation Type RegistryType
@Deprecated
@Qualifier
@Documented
@Retention(RUNTIME)
@Target({METHOD,FIELD,PARAMETER,ANNOTATION_TYPE})
public @interface RegistryType
Deprecated.
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;
- Author:
- Raymond Lam
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDeprecated.The scope of the MetricRegistry.
-
Element Details
-
type
MetricRegistry.Type typeDeprecated.The scope of the MetricRegistry.- Returns:
- Returns the scope of the MetricRegistry. The
MetricRegistry.Typecan beAPPLICATION,BASE, orVENDOR. - See Also:
- Default:
- APPLICATION
-
RegistryScopeinstead