Class ProviderExtensionSupport.ProviderBeanAttributes

  • All Implemented Interfaces:
    jakarta.enterprise.inject.spi.BeanAttributes<Object>
    Enclosing class:
    ProviderExtensionSupport

    public static class ProviderExtensionSupport.ProviderBeanAttributes
    extends Object
    implements jakarta.enterprise.inject.spi.BeanAttributes<Object>
    An implementation of BeanAttributes that wraps the generic producer BeanAttributes
    • Constructor Detail

      • ProviderBeanAttributes

        public ProviderBeanAttributes​(jakarta.enterprise.inject.spi.BeanAttributes<Object> delegate,
                                      Set<Type> types,
                                      Set<Annotation> qualifiers)
        Decorate the ConfigPropertyProducer BeanAttributes to set the types the producer applies to. This set is collected from all injection points annotated with @ConfigProperty.
        Parameters:
        delegate - - the original producer method BeanAttributes
        types - - the full set of @Claim injection point types
        qualifiers - - @Claim qualifiers
    • Method Detail

      • getTypes

        public Set<Type> getTypes()
        Specified by:
        getTypes in interface jakarta.enterprise.inject.spi.BeanAttributes<Object>
      • getQualifiers

        public Set<Annotation> getQualifiers()
        Specified by:
        getQualifiers in interface jakarta.enterprise.inject.spi.BeanAttributes<Object>
      • getScope

        public Class<? extends Annotation> getScope()
        Specified by:
        getScope in interface jakarta.enterprise.inject.spi.BeanAttributes<Object>
      • getName

        public String getName()
        Specified by:
        getName in interface jakarta.enterprise.inject.spi.BeanAttributes<Object>
      • getStereotypes

        public Set<Class<? extends Annotation>> getStereotypes()
        Specified by:
        getStereotypes in interface jakarta.enterprise.inject.spi.BeanAttributes<Object>
      • isAlternative

        public boolean isAlternative()
        Specified by:
        isAlternative in interface jakarta.enterprise.inject.spi.BeanAttributes<Object>