Package io.micronaut.core.beans
Interface BeanInfo<T>
- Type Parameters:
T- The type of the bean
- All Superinterfaces:
AnnotationMetadataProvider,AnnotationSource,ArgumentCoercible<T>,Ordered
- All Known Subinterfaces:
AdvisedBeanType<T>,BeanDefinition<T>,BeanDefinitionReference<T>,BeanIntrospection<T>,BeanType<T>,DelegatingBeanDefinition<T>,DisposableBeanDefinition<T>,EnumBeanIntrospection<E>,InitializingBeanDefinition<T>,InjectableBeanDefinition<T>,InstantiatableBeanDefinition<T>,ParametrizedInstantiatableBeanDefinition<T>,ProxyBeanDefinition<T>,QualifiedBeanType<T>,RuntimeBeanDefinition<T>,UnsafeBeanInstantiationIntrospection<T>,ValidatedBeanDefinition<T>
- All Known Implementing Classes:
AbstractEnumBeanIntrospectionAndReference,AbstractInitializableBeanDefinition,AbstractInitializableBeanDefinitionAndReference,AbstractInitializableBeanDefinitionReference,AbstractInitializableBeanIntrospection,AbstractInitializableBeanIntrospectionAndReference,AbstractProviderDefinition,ApplicationEventPublisherFactory,ArgumentBeanType,BeanProviderDefinition,BeanRegistration,DisabledBean,InterceptorRegistryBean,JakartaProviderBeanDefinition,JavaxProviderBeanDefinition
Top level interface for obtaining bean information.
- Since:
- 4.0.0
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTYFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
-
Method Details
-
getBeanType
- Returns:
- The bean type
-
getGenericBeanType
- Returns:
- The generic bean type
-
asArgument
- Specified by:
asArgumentin interfaceArgumentCoercible<T>- Returns:
- The argument
-
getOrder
default int getOrder()
-