Package io.micronaut.context
Interface BeanDefinitionAware
- All Known Implementing Classes:
EvaluatedAnnotationMetadata
public interface BeanDefinitionAware
Interface for components aware of bean definition associated with them.
- Since:
- 4.0
- Author:
- Sergey Gavrilov
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setBeanDefinition
(BeanDefinition<?> beanDefinition) Configure the component for the given bean definition.
-
Method Details
-
setBeanDefinition
Configure the component for the given bean definition.- Parameters:
beanDefinition
- The bean context
-