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 TypeInterfaceDescriptioninterface
Decorator<T>
Represents an enabled decorator.interface
Interceptor<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 theBean
object representing the bean that defines the injection point.ProcessBean.getBean()
Returns theBean
object that is about to be registered.default Bean
<?> ObserverMethod.getDeclaringBean()
Obtains the bean that declares the observer method.Bean
<?> BeanManager.getPassivationCapableBean
(String id) Returns thePassivationCapable
bean 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
/BeanContainer
was injected or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace theBeanManager
/BeanContainer
was 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
/BeanContainer
was injected or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace theBeanManager
/BeanContainer
was obtained, according to the rules of EL name resolution.Methods in jakarta.enterprise.inject.spi with parameters of type BeanModifier and TypeMethodDescriptionvoid
Fires an event of typeProcessBean
containing the givenBean
and then registers theBean
with 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 ofProducerFactory
that provides container createdProducer
instances for the given field.<X> ProducerFactory
<X> BeanManager.getProducerFactory
(AnnotatedMethod<? super X> method, Bean<X> declaringBean) An implementation ofProducerFactory
that provides container createdProducer
instances 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