Class ObservedAnnotationMapper
java.lang.Object
io.micronaut.micrometer.annotation.processing.ObservedAnnotationMapper
- All Implemented Interfaces:
io.micronaut.inject.annotation.AnnotationMapper<io.micrometer.observation.annotation.Observed>
,io.micronaut.inject.annotation.TypedAnnotationMapper<io.micrometer.observation.annotation.Observed>
public class ObservedAnnotationMapper
extends Object
implements io.micronaut.inject.annotation.TypedAnnotationMapper<io.micrometer.observation.annotation.Observed>
Adds interceptor binding to
Observed
.- Since:
- 3.4.0
- Author:
- Nemanja Mikic
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<io.micrometer.observation.annotation.Observed>
List<io.micronaut.core.annotation.AnnotationValue<?>>
map
(io.micronaut.core.annotation.AnnotationValue<io.micrometer.observation.annotation.Observed> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
-
Constructor Details
-
ObservedAnnotationMapper
public ObservedAnnotationMapper()
-
-
Method Details
-
annotationType
- Specified by:
annotationType
in interfaceio.micronaut.inject.annotation.TypedAnnotationMapper<io.micrometer.observation.annotation.Observed>
-
map
public List<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<io.micrometer.observation.annotation.Observed> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) - Specified by:
map
in interfaceio.micronaut.inject.annotation.AnnotationMapper<io.micrometer.observation.annotation.Observed>
-