Package io.micronaut.inject
Interface ConstructorInjectionPoint<T>
-
- Type Parameters:
T- The constructed type
- All Superinterfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider,io.micronaut.core.annotation.AnnotationSource,io.micronaut.core.beans.BeanConstructor<T>,CallableInjectionPoint<T>,io.micronaut.core.naming.Described,InjectionPoint<T>
- All Known Implementing Classes:
AbstractConstructorInjectionPoint
public interface ConstructorInjectionPoint<T> extends CallableInjectionPoint<T>, io.micronaut.core.beans.BeanConstructor<T>
A constructor injection point.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.Class<T>getDeclaringBeanType()default Tinstantiate(java.lang.Object... parameterValues)Tinvoke(java.lang.Object... args)Invoke the constructor.-
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
-
Methods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
-
Methods inherited from interface io.micronaut.core.beans.BeanConstructor
getArguments, getDescription, getDescription
-
Methods inherited from interface io.micronaut.inject.CallableInjectionPoint
getArguments
-
Methods inherited from interface io.micronaut.inject.InjectionPoint
getDeclaringBean, requiresReflection
-
-
-
-
Method Detail
-
invoke
T invoke(java.lang.Object... args)
Invoke the constructor.- Parameters:
args- The arguments- Returns:
- The new value
-
getDeclaringBeanType
@NonNull default java.lang.Class<T> getDeclaringBeanType()
- Specified by:
getDeclaringBeanTypein interfaceio.micronaut.core.beans.BeanConstructor<T>
-
-