public static class ProviderExtensionSupport.ProviderBeanAttributes extends Object implements javax.enterprise.inject.spi.BeanAttributes<Object>
Constructor and Description |
---|
ProviderBeanAttributes(javax.enterprise.inject.spi.BeanAttributes<Object> delegate,
Set<Type> types,
Set<Annotation> qualifiers)
Decorate the ConfigPropertyProducer BeanAttributes to set the types the producer applies to.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
Set<Annotation> |
getQualifiers() |
Class<? extends Annotation> |
getScope() |
Set<Class<? extends Annotation>> |
getStereotypes() |
Set<Type> |
getTypes() |
boolean |
isAlternative() |
public ProviderBeanAttributes(javax.enterprise.inject.spi.BeanAttributes<Object> delegate, Set<Type> types, Set<Annotation> qualifiers)
delegate
- - the original producer method BeanAttributestypes
- - the full set of @Claim injection point typesqualifiers
- - @Claim qualifierspublic Set<Type> getTypes()
getTypes
in interface javax.enterprise.inject.spi.BeanAttributes<Object>
public Set<Annotation> getQualifiers()
getQualifiers
in interface javax.enterprise.inject.spi.BeanAttributes<Object>
public Class<? extends Annotation> getScope()
getScope
in interface javax.enterprise.inject.spi.BeanAttributes<Object>
public String getName()
getName
in interface javax.enterprise.inject.spi.BeanAttributes<Object>
public Set<Class<? extends Annotation>> getStereotypes()
getStereotypes
in interface javax.enterprise.inject.spi.BeanAttributes<Object>
public boolean isAlternative()
isAlternative
in interface javax.enterprise.inject.spi.BeanAttributes<Object>
Copyright © 2018–2021. All rights reserved.