Uses of Interface
jakarta.enterprise.inject.spi.Bean
-
Packages that use Bean Package Description jakarta.enterprise.inject jakarta.enterprise.inject.spi The portable extension integration SPI. -
-
Uses of Bean in jakarta.enterprise.inject
Methods in jakarta.enterprise.inject that return Bean Modifier and Type Method Description Bean<T>
Instance.Handle. getBean()
-
Uses of Bean in jakarta.enterprise.inject.spi
Subinterfaces of Bean in jakarta.enterprise.inject.spi Modifier and Type Interface Description interface
Decorator<T>
Represents an enabled decorator.interface
Interceptor<T>
Represents an enabled interceptor.Methods in jakarta.enterprise.inject.spi that return Bean Modifier and Type Method Description <T> Bean<T>
BeanManager. createBean(BeanAttributes<T> attributes, java.lang.Class<T> beanClass, InjectionTargetFactory<T> injectionTargetFactory)
<T,X>
Bean<T>BeanManager. createBean(BeanAttributes<T> attributes, java.lang.Class<X> beanClass, ProducerFactory<X> producerFactory)
Bean<?>
InjectionPoint. getBean()
Get theBean
object representing the bean that defines the injection point.Bean<X>
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(java.lang.String id)
Returns thePassivationCapable
bean with the given identifier.<X> Bean<? extends X>
BeanContainer. resolve(java.util.Set<Bean<? extends X>> beans)
Apply the ambiguous dependency resolution rules to a set of beans.Methods in jakarta.enterprise.inject.spi that return types with arguments of type Bean Modifier and Type Method Description java.util.Set<Bean<?>>
BeanContainer. getBeans(java.lang.reflect.Type beanType, java.lang.annotation.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.java.util.Set<Bean<?>>
BeanContainer. getBeans(java.lang.String name)
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 Bean Modifier and Type Method Description void
AfterBeanDiscovery. addBean(Bean<?> bean)
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.InjectionTarget<T>
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.java.lang.Object
BeanContainer. getReference(Bean<?> bean, java.lang.reflect.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 Modifier and Type Method Description <X> Bean<? extends X>
BeanContainer. resolve(java.util.Set<Bean<? extends X>> beans)
Apply the ambiguous dependency resolution rules to a set of beans.
-