Package io.micrometer.tracing.annotation
Interface MethodInvocationProcessor
public interface MethodInvocationProcessor
Contract for processing annotations.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionprocess
(org.aopalliance.intercept.MethodInvocation invocation, NewSpan newSpan, ContinueSpan continueSpan) Executes the annotated method.
-
Method Details
-
process
Object process(org.aopalliance.intercept.MethodInvocation invocation, NewSpan newSpan, ContinueSpan continueSpan) throws Throwable Executes the annotated method.- Parameters:
invocation
- method invocationnewSpan
- annotationcontinueSpan
- annotation- Returns:
- executed method result
- Throws:
Throwable
- exception upon running a method
-