T - typeR - result@Internal public final 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, index, interceptorCount, interceptors, LOG, originalParameters, parameters, targetCLASS_NAME_SUFFIX, EMPTY_METADATA, VALUE_MEMBEREMPTY| 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() |
R |
proceed()
Proceeds with the invocation.
|
String |
toString() |
getAnnotationMetadata, getArguments, getAttributes, getParameters, getParameterValues, getTarget, invoke, proceed, resolveAroundInterceptors, resolveIntroductionInterceptorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameters, getParameterValueMap, getParameterValues, getTarget, proceed, setAttributegetAttributes, removeAttributegetAttribute, getAttributeisAbstractgetArguments, invokegetArgumentNames, getArguments, getNamebooleanValue, 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, getDefaultValues, 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, synthesizeDeclaredAnnotationsByTypehasSimpleAnnotation, hasSimpleDeclaredAnnotationisDeclaredNullable, isNullablegetAnnotationMetadatapublic MethodInterceptorChain(Interceptor<T,R>[] interceptors, T target, ExecutableMethod<T,R> executionHandle, Object... originalParameters)
interceptors - array of interceptorstarget - targetexecutionHandle - executionHandleoriginalParameters - originalParameterspublic R proceed() throws RuntimeException
InvocationContextproceed in interface InvocationContext<T,R>proceed in class InterceptorChain<T,R>RuntimeException - chain may throw RTEpublic 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()
MethodInvocationContextExecutableMethod reference.getExecutableMethod in interface MethodInvocationContext<T,R>