Package org.jboss.weld.bootstrap
Class BeanDeployerEnvironment
java.lang.Object
org.jboss.weld.bootstrap.BeanDeployerEnvironment
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBeanDeployerEnvironment(Set<SlimAnnotatedTypeContext<?>> annotatedTypes, Set<Class<?>> vetoedClasses, SetMultimap<Class<?>, AbstractClassBean<?>> classBeanMap, Set<ProducerField<?, ?>> producerFields, SetMultimap<BeanDeployerEnvironment.WeldMethodKey, ProducerMethod<?, ?>> producerMethodBeanMap, Set<RIBean<?>> beans, Set<ObserverInitializationContext<?, ?>> observers, Set<DisposalMethod<?, ?>> allDisposalBeans, Set<DisposalMethod<?, ?>> resolvedDisposalBeans, Set<DecoratorImpl<?>> decorators, Set<InterceptorImpl<?>> interceptors, Set<Type> newBeanTypes, BeanManagerImpl manager) protectedBeanDeployerEnvironment(BeanManagerImpl manager) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAbstractBean(AbstractBean<?, ?> bean) protected voidaddAbstractClassBean(AbstractClassBean<?> bean) voidaddAnnotatedType(SlimAnnotatedTypeContext<?> annotatedType) voidaddAnnotatedTypes(Collection<SlimAnnotatedTypeContext<?>> annotatedTypes) voidaddBuiltInBean(AbstractBuiltInBean<?> bean) voidaddDecorator(DecoratorImpl<?> bean) voidaddDisposesMethod(DisposalMethod<?, ?> bean) voidaddExtension(ExtensionBean<?> bean) voidaddInterceptor(InterceptorImpl<?> bean) voidaddManagedBean(ManagedBean<?> bean) voidaddObserverMethod(ObserverInitializationContext<?, ?> observerInitializer) voidaddProducerField(ProducerField<?, ?> bean) voidaddProducerMethod(ProducerMethod<?, ?> bean) voidaddSessionBean(SessionBean<?> bean) voidaddSyntheticAnnotatedType(SlimAnnotatedType<?> annotatedType, jakarta.enterprise.inject.spi.Extension extension) voidcleanup()getBeans()Set<AbstractClassBean<?>>getClassBeans(Class<?> clazz) Set<DecoratorImpl<?>>Set<InterceptorImpl<?>>Set<ProducerField<?,?>> Set<ProducerMethod<?,?>> getProducerMethod(Class<?> declaringClass, MethodSignature signature) Iterable<ProducerMethod<?,?>> Set<DisposalMethod<?,?>> booleanvoidremoveAnnotatedType(SlimAnnotatedTypeContext<?> annotatedType) voidremoveAnnotatedTypes(Collection<SlimAnnotatedTypeContext<?>> annotatedTypes) <X> Set<DisposalMethod<X,?>> resolveDisposalBeans(Set<Type> types, Set<Annotation> qualifiers, AbstractClassBean<X> declaringBean) Resolve the disposal method for the given producer method.voidtrim()voidvetoBean(AbstractBean<?, ?> bean) voidvetoJavaClass(Class<?> javaClass)
-
Constructor Details
-
BeanDeployerEnvironment
-
BeanDeployerEnvironment
protected BeanDeployerEnvironment(Set<SlimAnnotatedTypeContext<?>> annotatedTypes, Set<Class<?>> vetoedClasses, SetMultimap<Class<?>, AbstractClassBean<?>> classBeanMap, Set<ProducerField<?, ?>> producerFields, SetMultimap<BeanDeployerEnvironment.WeldMethodKey, ProducerMethod<?, ?>> producerMethodBeanMap, Set<RIBean<?>> beans, Set<ObserverInitializationContext<?, ?>> observers, Set<DisposalMethod<?, ?>> allDisposalBeans, Set<DisposalMethod<?, ?>> resolvedDisposalBeans, Set<DecoratorImpl<?>> decorators, Set<InterceptorImpl<?>> interceptors, Set<Type> newBeanTypes, BeanManagerImpl manager)
-
-
Method Details
-
addAnnotatedType
-
addAnnotatedTypes
-
addSyntheticAnnotatedType
public void addSyntheticAnnotatedType(SlimAnnotatedType<?> annotatedType, jakarta.enterprise.inject.spi.Extension extension) -
getAnnotatedTypes
-
removeAnnotatedType
-
removeAnnotatedTypes
-
vetoJavaClass
-
isVetoed
-
getProducerMethod
public Set<ProducerMethod<?,?>> getProducerMethod(Class<?> declaringClass, MethodSignature signature) -
getClassBeans
-
addProducerMethod
-
addProducerField
-
addExtension
-
addBuiltInBean
-
addAbstractClassBean
-
addManagedBean
-
addSessionBean
-
addAbstractBean
-
addDecorator
-
addInterceptor
-
addDisposesMethod
-
addObserverMethod
-
getBeans
-
getDecorators
-
getInterceptors
-
getObservers
-
getUnresolvedDisposalBeans
-
resolveDisposalBeans
public <X> Set<DisposalMethod<X,?>> resolveDisposalBeans(Set<Type> types, Set<Annotation> qualifiers, AbstractClassBean<X> declaringBean) Resolve the disposal method for the given producer method. Any resolved beans will be marked as such for the purpose of validating that all disposal methods are used. For internal use.- Parameters:
types- the typesqualifiers- The binding types to matchdeclaringBean- declaring bean- Returns:
- The set of matching disposal methods
-
vetoBean
-
getClassBeans
-
getProducerMethodBeans
-
getProducerFields
-
cleanup
public void cleanup() -
getNewBeanTypes
-
trim
public void trim()
-