Uses of Interface
jakarta.enterprise.inject.spi.Bean
Packages that use Bean
Package
Description
The portable extension integration SPI.
-
Uses of Bean in jakarta.enterprise.inject
Methods in jakarta.enterprise.inject that return Bean -
Uses of Bean in jakarta.enterprise.inject.spi
Subinterfaces of Bean in jakarta.enterprise.inject.spiModifier and TypeInterfaceDescriptioninterfaceDecorator<T>Represents an enabled decorator.interfaceInterceptor<T>Represents an enabled interceptor.Methods in jakarta.enterprise.inject.spi that return BeanModifier and TypeMethodDescription<T> Bean<T>BeanManager.createBean(BeanAttributes<T> attributes, Class<T> beanClass, InjectionTargetFactory<T> injectionTargetFactory) <T,X> Bean<T> BeanManager.createBean(BeanAttributes<T> attributes, Class<X> beanClass, ProducerFactory<X> producerFactory) Bean<?>InjectionPoint.getBean()Get theBeanobject representing the bean that defines the injection point.ProcessBean.getBean()Returns theBeanobject that is about to be registered.default Bean<?>ObserverMethod.getDeclaringBean()Obtains the bean that declares the observer method.Bean<?>BeanManager.getPassivationCapableBean(String id) Returns thePassivationCapablebean with the given identifier.<X> Bean<? extends X>Apply the ambiguous dependency resolution rules to a set of beans.Methods in jakarta.enterprise.inject.spi that return types with arguments of type BeanModifier and TypeMethodDescriptionBeanContainer.getBeans(Type beanType, Annotation... qualifiers) Return the set of beans which have the given required type and qualifiers and are available for injection in the module or library containing the class into which theBeanManager/BeanContainerwas injected or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace theBeanManager/BeanContainerwas obtained, according to the rules of typesafe resolution.Return the set of beans which have the given EL name and are available for injection in the module or library containing the class into which theBeanManager/BeanContainerwas injected or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace theBeanManager/BeanContainerwas obtained, according to the rules of EL name resolution.Methods in jakarta.enterprise.inject.spi with parameters of type BeanModifier and TypeMethodDescriptionvoidFires an event of typeProcessBeancontaining the givenBeanand then registers theBeanwith the container, thereby making a bean which is not an interceptor nor a decorator available for injection into other beans.InjectionTargetFactory.createInjectionTarget(Bean<T> bean) Create a new injection target for a bean.<T> Producer<T>ProducerFactory.createProducer(Bean<T> bean) Create a new producer for a bean.<X> ProducerFactory<X>BeanManager.getProducerFactory(AnnotatedField<? super X> field, Bean<X> declaringBean) An implementation ofProducerFactorythat provides container createdProducerinstances for the given field.<X> ProducerFactory<X>BeanManager.getProducerFactory(AnnotatedMethod<? super X> method, Bean<X> declaringBean) An implementation ofProducerFactorythat provides container createdProducerinstances for the given method.BeanContainer.getReference(Bean<?> bean, Type beanType, CreationalContext<?> ctx) Obtains a contextual reference for a certain bean and a certain bean type of the bean.Method parameters in jakarta.enterprise.inject.spi with type arguments of type Bean