| Package | Description | 
|---|---|
| javax.enterprise.inject.spi | 
 The portable extension integration SPI. 
 | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
Decorator<T>
 Represents an enabled decorator. 
 | 
interface  | 
Interceptor<T>
 Represents an enabled interceptor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<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<X> | 
ProcessBean.getBean()
Returns the  
Bean object that is about to be registered. | 
Bean<?> | 
InjectionPoint.getBean()
Get the  
Bean object representing the bean that defines the injection point. | 
Bean<?> | 
BeanManager.getPassivationCapableBean(String id)
Returns the  
PassivationCapable bean with the given identifier. | 
<X> Bean<? extends X> | 
BeanManager.resolve(Set<Bean<? extends X>> beans)
Apply the ambiguous dependency resolution rules to a set of beans. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Set<Bean<?>> | 
BeanManager.getBeans(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 the BeanManager was injected or the Jakarta EE component from whose JNDI environment namespace
 the BeanManager was obtained, according to the rules of EL name resolution. 
 | 
Set<Bean<?>> | 
BeanManager.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 the BeanManager was injected or the Jakarta EE component from whose JNDI
 environment namespace the BeanManager was obtained, according to the rules of typesafe resolution. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
AfterBeanDiscovery.addBean(Bean<?> bean)
Fires an event of type  
ProcessBean containing the given
 Bean and then registers the Bean 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 of  
ProducerFactory that provides container created Producer instances for the given
 field. | 
<X> ProducerFactory<X> | 
BeanManager.getProducerFactory(AnnotatedMethod<? super X> method,
                  Bean<X> declaringBean)
 An implementation of  
ProducerFactory that provides container created Producer instances for the given
 method. | 
Object | 
BeanManager.getReference(Bean<?> bean,
            Type beanType,
            CreationalContext<?> ctx)
 Obtains a contextual reference for a certain bean and a certain bean type of the bean. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<X> Bean<? extends X> | 
BeanManager.resolve(Set<Bean<? extends X>> beans)
Apply the ambiguous dependency resolution rules to a set of beans. 
 | 
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.