Package io.smallrye.jwt.auth.cdi
Class ProviderExtensionSupport.ProviderBeanAttributes
- java.lang.Object
-
- io.smallrye.jwt.auth.cdi.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 Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Set<Annotation>getQualifiers()Class<? extends Annotation>getScope()Set<Class<? extends Annotation>>getStereotypes()Set<Type>getTypes()booleanisAlternative()
-
-
-
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 BeanAttributestypes- - the full set of @Claim injection point typesqualifiers- - @Claim qualifiers
-
-
Method Detail
-
getTypes
public Set<Type> getTypes()
- Specified by:
getTypesin interfacejakarta.enterprise.inject.spi.BeanAttributes<Object>
-
getQualifiers
public Set<Annotation> getQualifiers()
- Specified by:
getQualifiersin interfacejakarta.enterprise.inject.spi.BeanAttributes<Object>
-
getScope
public Class<? extends Annotation> getScope()
- Specified by:
getScopein interfacejakarta.enterprise.inject.spi.BeanAttributes<Object>
-
getName
public String getName()
- Specified by:
getNamein interfacejakarta.enterprise.inject.spi.BeanAttributes<Object>
-
getStereotypes
public Set<Class<? extends Annotation>> getStereotypes()
- Specified by:
getStereotypesin interfacejakarta.enterprise.inject.spi.BeanAttributes<Object>
-
isAlternative
public boolean isAlternative()
- Specified by:
isAlternativein interfacejakarta.enterprise.inject.spi.BeanAttributes<Object>
-
-