Top Fields Constructors Methods
io.micrometer.tracing.annotation

pack-priv Class SpanAspectMethodInvocation

extends Object
implements MethodInvocation
Class Inheritance
All Implemented Interfaces
org.aopalliance.intercept.MethodInvocation, org.aopalliance.intercept.Invocation, org.aopalliance.intercept.Joinpoint
Imports
org.aopalliance.intercept.MethodInvocation, org.aspectj.lang.ProceedingJoinPoint, java.lang.reflect.AccessibleObject, .Method

Field Summary

Modifier and TypeField and Description
private final Method
private final ProceedingJoinPoint

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Object[]
getArguments()

Implements org.aopalliance.intercept.Invocation.getArguments.

Get the arguments as an array object.
public Method
getMethod()

Implements org.aopalliance.intercept.MethodInvocation.getMethod.

Get the method being called.
pack-priv ProceedingJoinPoint
public AccessibleObject
getStaticPart()

Implements org.aopalliance.intercept.Joinpoint.getStaticPart.

Return the static part of this joinpoint.
public Object
getThis()

Implements org.aopalliance.intercept.Joinpoint.getThis.

Return the object that holds the current joinpoint's static part.
public Object
proceed()

Implements org.aopalliance.intercept.Joinpoint.proceed.

Proceed to the next interceptor in the chain.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

methodback to summary
private final Method method
pjpback to summary
private final ProceedingJoinPoint pjp

Constructor Detail

SpanAspectMethodInvocationback to summary
pack-priv SpanAspectMethodInvocation(ProceedingJoinPoint pjp, Method method)

Method Detail

getArgumentsback to summary
public Object[] getArguments()

Implements org.aopalliance.intercept.Invocation.getArguments.

Doc from org.aopalliance.intercept.Invocation.getArguments.

Get the arguments as an array object. It is possible to change element values within this array to change the arguments.

Returns:Object[]

the argument of the invocation

Annotations
@Override
getMethodback to summary
public Method getMethod()

Implements org.aopalliance.intercept.MethodInvocation.getMethod.

Doc from org.aopalliance.intercept.MethodInvocation.getMethod.

Get the method being called.

This method is a friendly implementation of the Joinpoint#getStaticPart() method (same result).

Returns:Method

the method being called

Annotations
@Override
getPjpback to summary
pack-priv ProceedingJoinPoint getPjp()
getStaticPartback to summary
public AccessibleObject getStaticPart()

Implements org.aopalliance.intercept.Joinpoint.getStaticPart.

Doc from org.aopalliance.intercept.Joinpoint.getStaticPart.

Return the static part of this joinpoint.

The static part is an accessible object on which a chain of interceptors is installed.

Annotations
@Override
getThisback to summary
public Object getThis()

Implements org.aopalliance.intercept.Joinpoint.getThis.

Doc from org.aopalliance.intercept.Joinpoint.getThis.

Return the object that holds the current joinpoint's static part.

For instance, the target object for an invocation.

Returns:Object

the object (can be null if the accessible object is static)

Annotations
@Override
proceedback to summary
public Object proceed() throws Throwable

Implements org.aopalliance.intercept.Joinpoint.proceed.

Doc from org.aopalliance.intercept.Joinpoint.proceed.

Proceed to the next interceptor in the chain.

The implementation and the semantics of this method depends on the actual joinpoint type (see the children interfaces).

Returns:Object

see the children interfaces' proceed definition

Annotations
@Override
Exceptions
Throwable:
if the joinpoint throws an exception