Package io.micronaut.context
Class AbstractConstructorInjectionPoint<T>
- java.lang.Object
-
- io.micronaut.core.beans.AbstractBeanConstructor<T>
-
- io.micronaut.context.AbstractConstructorInjectionPoint<T>
-
- Type Parameters:
T
- The bean type
- All Implemented Interfaces:
EnvironmentConfigurable
,io.micronaut.core.annotation.AnnotationMetadataProvider
,io.micronaut.core.annotation.AnnotationSource
,io.micronaut.core.beans.BeanConstructor<T>
,io.micronaut.core.naming.Described
,CallableInjectionPoint<T>
,ConstructorInjectionPoint<T>
,InjectionPoint<T>
public abstract class AbstractConstructorInjectionPoint<T> extends io.micronaut.core.beans.AbstractBeanConstructor<T> implements ConstructorInjectionPoint<T>, EnvironmentConfigurable
Abstract constructor implementation for bean definitions to implement to create constructors at build time.- Since:
- 3.0.0
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractConstructorInjectionPoint(BeanDefinition<T> beanDefinition)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeanDefinition<T>
getDeclaringBean()
boolean
requiresReflection()
-
Methods inherited from class io.micronaut.core.beans.AbstractBeanConstructor
getAnnotationMetadata, getArguments, getDeclaringBeanType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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.ConstructorInjectionPoint
getDeclaringBeanType, instantiate, invoke
-
Methods inherited from interface io.micronaut.context.EnvironmentConfigurable
configure, hasPropertyExpressions
-
-
-
-
Constructor Detail
-
AbstractConstructorInjectionPoint
protected AbstractConstructorInjectionPoint(BeanDefinition<T> beanDefinition)
Default constructor.- Parameters:
beanDefinition
- The bean type
-
-
Method Detail
-
getDeclaringBean
@NonNull public final BeanDefinition<T> getDeclaringBean()
- Specified by:
getDeclaringBean
in interfaceInjectionPoint<T>
- Returns:
- The bean that declares this injection point
-
requiresReflection
public final boolean requiresReflection()
- Specified by:
requiresReflection
in interfaceInjectionPoint<T>
- Returns:
- Whether reflection is required to satisfy the injection point
-
-