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,
java.lang.Object... originalParameters)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class[] |
getArgumentTypes() |
java.lang.Class<T> |
getDeclaringType() |
ExecutableMethod<T,R> |
getExecutableMethod()
The underlying
ExecutableMethod reference. |
java.lang.String |
getMethodName() |
ReturnType<R> |
getReturnType() |
java.lang.reflect.Method |
getTargetMethod() |
R |
proceed()
Proceeds with the invocation.
|
java.lang.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, getAttributeisAbstract, isSuspendgetArguments, invokegetArgumentNames, getArguments, getNamebooleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, enumValues, enumValues, enumValues, enumValues, 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, hasSimpleAnnotation, hasSimpleDeclaredAnnotation, 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, synthesizeDeclaredAnnotationsByTypeisDeclaredNonNull, isDeclaredNullable, isNonNull, isNullablegetAnnotationMetadatapublic MethodInterceptorChain(Interceptor<T,R>[] interceptors, T target, ExecutableMethod<T,R> executionHandle, java.lang.Object... originalParameters)
interceptors - array of interceptorstarget - targetexecutionHandle - executionHandleoriginalParameters - originalParameterspublic R proceed() throws java.lang.RuntimeException
InvocationContextproceed in interface InvocationContext<T,R>proceed in class InterceptorChain<T,R>java.lang.RuntimeException - chain may throw RTEpublic java.lang.String getMethodName()
getMethodName in interface MethodReference<T,R>public java.lang.Class[] getArgumentTypes()
getArgumentTypes in interface MethodReference<T,R>public java.lang.reflect.Method getTargetMethod()
getTargetMethod in interface MethodReference<T,R>public ReturnType<R> getReturnType()
getReturnType in interface MethodReference<T,R>public java.lang.Class<T> getDeclaringType()
getDeclaringType in interface MethodReference<T,R>public java.lang.String toString()
toString in class java.lang.Object@NonNull public ExecutableMethod<T,R> getExecutableMethod()
MethodInvocationContextExecutableMethod reference.getExecutableMethod in interface MethodInvocationContext<T,R>