Annotation Interface 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;
- See Also:
-
Optional Element Summary
Modifier 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.Type
can beAPPLICATION
,BASE
, orVENDOR
. - See Also:
- Default:
- APPLICATION
-
RegistryScope
instead