Package io.quarkus.arc.processor
Class BeanDeployment
- java.lang.Object
-
- io.quarkus.arc.processor.BeanDeployment
-
public class BeanDeployment extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.jandex.AnnotationInstancegetAnnotation(org.jboss.jandex.AnnotationTarget target, org.jboss.jandex.DotName name)Collection<org.jboss.jandex.AnnotationInstance>getAnnotations(org.jboss.jandex.AnnotationTarget target)org.jboss.jandex.IndexViewgetApplicationIndex()This index is optional and is used to discover types during type-safe resolution.io.quarkus.arc.processor.AssignabilityCheckgetAssignabilityCheck()org.jboss.jandex.IndexViewgetBeanArchiveIndex()This index was used to discover components (beans, interceptors, qualifiers, etc.) and during type-safe resolution.BeanResolvergetBeanResolver()Collection<BeanInfo>getBeans()Collection<DecoratorInfo>getDecorators()Collection<InjectionPointInfo>getInjectionPoints()Collection<org.jboss.jandex.ClassInfo>getInterceptorBindings()Set<String>getInterceptorNonbindingMembers(org.jboss.jandex.DotName name)InterceptorResolvergetInterceptorResolver()Collection<InterceptorInfo>getInterceptors()Collection<ObserverInfo>getObservers()Set<String>getQualifierNonbindingMembers(org.jboss.jandex.DotName name)Collection<org.jboss.jandex.ClassInfo>getQualifiers()Collection<BeanInfo>getRemovedBeans()Collection<StereotypeInfo>getStereotypes()booleanhasAnnotation(org.jboss.jandex.AnnotationTarget target, org.jboss.jandex.DotName name)voidinitBeanByTypeMap()Re-initialize the map that is used to speed-up lookup requests.static Set<org.jboss.jandex.DotName>initBeanDefiningAnnotations(Collection<BeanDefiningAnnotation> additionalBeanDefiningAnnotations, Set<org.jboss.jandex.DotName> stereotypes)
-
-
-
Method Detail
-
initBeanByTypeMap
public void initBeanByTypeMap()
Re-initialize the map that is used to speed-up lookup requests.
-
getBeans
public Collection<BeanInfo> getBeans()
-
getRemovedBeans
public Collection<BeanInfo> getRemovedBeans()
-
getQualifiers
public Collection<org.jboss.jandex.ClassInfo> getQualifiers()
-
getInterceptorBindings
public Collection<org.jboss.jandex.ClassInfo> getInterceptorBindings()
-
getInjectionPoints
public Collection<InjectionPointInfo> getInjectionPoints()
-
getObservers
public Collection<ObserverInfo> getObservers()
-
getInterceptors
public Collection<InterceptorInfo> getInterceptors()
-
getDecorators
public Collection<DecoratorInfo> getDecorators()
-
getStereotypes
public Collection<StereotypeInfo> getStereotypes()
-
getBeanArchiveIndex
public org.jboss.jandex.IndexView getBeanArchiveIndex()
This index was used to discover components (beans, interceptors, qualifiers, etc.) and during type-safe resolution.- Returns:
- the bean archive index
-
getApplicationIndex
public org.jboss.jandex.IndexView getApplicationIndex()
This index is optional and is used to discover types during type-safe resolution.Some types may not be part of the bean archive index but are still needed during type-safe resolution.
- Returns:
- the application index or
null
-
getBeanResolver
public BeanResolver getBeanResolver()
-
getAssignabilityCheck
public io.quarkus.arc.processor.AssignabilityCheck getAssignabilityCheck()
-
getInterceptorResolver
public InterceptorResolver getInterceptorResolver()
-
getAnnotations
public Collection<org.jboss.jandex.AnnotationInstance> getAnnotations(org.jboss.jandex.AnnotationTarget target)
-
getAnnotation
public org.jboss.jandex.AnnotationInstance getAnnotation(org.jboss.jandex.AnnotationTarget target, org.jboss.jandex.DotName name)
-
hasAnnotation
public boolean hasAnnotation(org.jboss.jandex.AnnotationTarget target, org.jboss.jandex.DotName name)
-
initBeanDefiningAnnotations
public static Set<org.jboss.jandex.DotName> initBeanDefiningAnnotations(Collection<BeanDefiningAnnotation> additionalBeanDefiningAnnotations, Set<org.jboss.jandex.DotName> stereotypes)
-
getInterceptorNonbindingMembers
public Set<String> getInterceptorNonbindingMembers(org.jboss.jandex.DotName name)
-
-