T
- The bean typepublic interface ConstructorInvocationContext<T> extends InvocationContext<T,T>
InvocationContext
for construction invocation.Modifier and Type | Method and Description |
---|---|
io.micronaut.core.beans.BeanConstructor<T> |
getConstructor() |
default java.lang.Class<T> |
getDeclaringType() |
T |
proceed()
Proceeds with the invocation.
|
T |
proceed(Interceptor from)
Proceeds with the invocation using the given interceptor as a position to start from.
|
getKind, getParameters, getParameterValueMap, getParameterValues, getTarget, setAttribute
booleanValue, 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, findRepeatableAnnotation, findRepeatableAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByType, getDeclaredMetadata, 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, hasPropertyExpressions, hasSimpleAnnotation, hasSimpleDeclaredAnnotation, hasStereotype, hasStereotype, hasStereotype, hasStereotype, intValue, intValue, intValue, isAnnotationPresent, isDeclaredAnnotationPresent, isEmpty, isFalse, isFalse, isPresent, isPresent, isRepeatableAnnotation, isRepeatableAnnotation, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, stringValues, stringValues, synthesize, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
getAnnotationMetadata
getValues, hasDeclaredStereotype, isAnnotationPresent, isDeclaredAnnotationPresent
@NonNull io.micronaut.core.beans.BeanConstructor<T> getConstructor()
default java.lang.Class<T> getDeclaringType()
getDeclaringType
in interface io.micronaut.core.type.Executable<T,T>
getDeclaringType
in interface InvocationContext<T,T>
@NonNull T proceed() throws java.lang.RuntimeException
InvocationContext
proceed
in interface InvocationContext<T,T>
java.lang.RuntimeException
- chain may throw RTE@NonNull T proceed(Interceptor from) throws java.lang.RuntimeException
InvocationContext
Introduction
advise where you want to
invoke the target multiple times or where you want to repeat the entire chain.proceed
in interface InvocationContext<T,T>
from
- The interceptor to start from (note: will not be included in the execution)java.lang.RuntimeException
- chain may throw RTE