T
- typeR
- result@Internal public class MethodInterceptorChain<T,R> extends InterceptorChain<T,R> implements MethodInvocationContext<T,R>
Interceptor
chain. This class implements MethodInvocationContext
and is
consumed by the framework itself and should not be used directly in application code.attributes, executionHandle, interceptors, parameters, target
CLASS_NAME_SUFFIX, EMPTY_METADATA, VALUE_MEMBER
EMPTY
Constructor and Description |
---|
MethodInterceptorChain(Interceptor<T,R>[] interceptors,
T target,
ExecutableMethod<T,R> executionHandle,
Object... originalParameters)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Class[] |
getArgumentTypes() |
Class<T> |
getDeclaringType() |
ExecutableMethod<T,R> |
getExecutableMethod()
The underlying
ExecutableMethod reference. |
String |
getMethodName() |
ReturnType<R> |
getReturnType() |
Method |
getTargetMethod() |
String |
toString() |
getAnnotationMetadata, getArguments, getAttributes, getParameters, getTarget, invoke, proceed, proceed, resolveAroundInterceptors, resolveIntroductionInterceptors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getParameters, getParameterValueMap, getParameterValues, getTarget, proceed, proceed, setAttribute
getAttributes, removeAttribute
getAttribute, getAttribute
getArguments, invoke
getArgumentNames, getArguments
booleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByType, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValues, getValues, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation, hasDeclaredStereotype, hasDeclaredStereotype, hasDeclaredStereotype, hasStereotype, hasStereotype, hasStereotype, hasStereotype, intValue, intValue, intValue, isAnnotationPresent, isDeclaredAnnotationPresent, isEmpty, isFalse, isFalse, isPresent, isPresent, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
getAnnotationMetadata
public MethodInterceptorChain(Interceptor<T,R>[] interceptors, T target, ExecutableMethod<T,R> executionHandle, Object... originalParameters)
interceptors
- array of interceptorstarget
- targetexecutionHandle
- executionHandleoriginalParameters
- originalParameterspublic String getMethodName()
getMethodName
in interface MethodReference<T,R>
public Class[] getArgumentTypes()
getArgumentTypes
in interface MethodReference<T,R>
public Method getTargetMethod()
getTargetMethod
in interface MethodReference<T,R>
public ReturnType<R> getReturnType()
getReturnType
in interface MethodReference<T,R>
public Class<T> getDeclaringType()
getDeclaringType
in interface MethodReference<T,R>
@Nonnull public ExecutableMethod<T,R> getExecutableMethod()
MethodInvocationContext
ExecutableMethod
reference.getExecutableMethod
in interface MethodInvocationContext<T,R>