Top Description Fields Constructors Methods
io.micrometer.tracing.annotation

public Class SpanAspect

extends Object
Class Inheritance
Annotations
@Aspect
@NonNullApi
Imports
io.micrometer.common.lang.NonNullApi, .Nullable, org.aspectj.lang.ProceedingJoinPoint, org.aspectj.lang.annotation.Around, .Aspect, org.aspectj.lang.reflect.MethodSignature, java.lang.reflect.Method

AspectJ aspect for intercepting types or methods annotated with @NewSpan or @ContinueSpan.

Author
Marcin Grzejszczak
Since
1.1.0
See Also
ImperativeMethodInvocationProcessor

Field Summary

Modifier and TypeField and Description
private final MethodInvocationProcessor

Constructor Summary

AccessConstructor and Description
public
SpanAspect(MethodInvocationProcessor methodInvocationProcessor)

Method Summary

Modifier and TypeMethod and Description
public Object
private Method
public Object
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

methodInvocationProcessorback to summary
private final MethodInvocationProcessor methodInvocationProcessor

Constructor Detail

SpanAspectback to summary
public SpanAspect(MethodInvocationProcessor methodInvocationProcessor)

Method Detail

continueSpanMethodback to summary
public Object continueSpanMethod(ProceedingJoinPoint pjp) throws Throwable
Annotations
@Around:@annotation(io.micrometer.tracing.annotation.ContinueSpan)
@Nullable
getMethodback to summary
private Method getMethod(ProceedingJoinPoint pjp) throws NoSuchMethodException
newSpanMethodback to summary
public Object newSpanMethod(ProceedingJoinPoint pjp) throws Throwable
Annotations
@Around:@annotation(io.micrometer.tracing.annotation.NewSpan)
@Nullable