Uses of Interface
javax.enterprise.inject.spi.Bean
-
Packages that use Bean Package Description javax.enterprise.inject.spi The portable extension integration SPI. -
-
Uses of Bean in javax.enterprise.inject.spi
Subinterfaces of Bean in javax.enterprise.inject.spi Modifier and Type Interface Description interface
Decorator<T>
Represents an enabled decorator.interface
Interceptor<T>
Represents an enabled interceptor.Methods in javax.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.Bean<?>
BeanManager. getPassivationCapableBean(java.lang.String id)
Returns thePassivationCapable
bean with the given identifier.<X> Bean<? extends X>
BeanManager. resolve(java.util.Set<Bean<? extends X>> beans)
Apply the ambiguous dependency resolution rules to a set of beans.Methods in javax.enterprise.inject.spi that return types with arguments of type Bean Modifier and Type Method Description java.util.Set<Bean<?>>
BeanManager. 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 the BeanManager was injected or the Java EE component from whose JNDI environment namespace the BeanManager was obtained, according to the rules of typesafe resolution.java.util.Set<Bean<?>>
BeanManager. 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 the BeanManager was injected or the Java EE component from whose JNDI environment namespace the BeanManager was obtained, according to the rules of EL name resolution.Methods in javax.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 it 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
BeanManager. 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 javax.enterprise.inject.spi with type arguments of type Bean Modifier and Type Method Description <X> Bean<? extends X>
BeanManager. resolve(java.util.Set<Bean<? extends X>> beans)
Apply the ambiguous dependency resolution rules to a set of beans.
-