Interface QualifiedBeanType<T>

Type Parameters:
T - The bean type
All Superinterfaces:
AnnotationMetadata, AnnotationMetadataDelegate, AnnotationMetadataProvider, AnnotationSource, ArgumentCoercible<T>, BeanContextConditional, BeanInfo<T>, BeanType<T>, Ordered
All Known Subinterfaces:
BeanDefinition<T>, BeanDefinitionReference<T>, DelegatingBeanDefinition<T>, DisposableBeanDefinition<T>, InitializingBeanDefinition<T>, InjectableBeanDefinition<T>, InstantiatableBeanDefinition<T>, ParametrizedInstantiatableBeanDefinition<T>, ProxyBeanDefinition<T>, RuntimeBeanDefinition<T>, ValidatedBeanDefinition<T>
All Known Implementing Classes:
AbstractInitializableBeanDefinition, AbstractInitializableBeanDefinitionAndReference, AbstractInitializableBeanDefinitionReference, AbstractProviderDefinition, ApplicationEventPublisherFactory, BeanProviderDefinition, DisabledBean, InterceptorRegistryBean, JakartaProviderBeanDefinition, JavaxProviderBeanDefinition

public interface QualifiedBeanType<T> extends BeanType<T>, AnnotationMetadataDelegate
An interface for a BeanType that allows qualifiers.
Since:
4.0.0
  • Method Details

    • getDeclaredQualifier

      @Nullable default @Nullable Qualifier<T> getDeclaredQualifier()
      Resolve the declared qualifier for this bean.
      Returns:
      The qualifier or null if this isn't one
    • resolveDynamicQualifier

      @Nullable default @Nullable Qualifier<T> resolveDynamicQualifier()
      Returns:
      Method that can be overridden to resolve a dynamic qualifier