Uses of Interface
javax.enterprise.inject.spi.Bean
Packages that use Bean
-
Uses of Bean in javax.enterprise.inject.spi
Subinterfaces of Bean in javax.enterprise.inject.spiModifier and TypeInterfaceDescriptioninterface
Decorator<T>
Represents an enabled decorator.interface
Interceptor<T>
Represents an enabled interceptor.Methods in javax.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.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 javax.enterprise.inject.spi that return types with arguments of type BeanModifier and TypeMethodDescriptionBeanManager.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 Java EE component from whose JNDI environment namespace the BeanManager 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 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 BeanModifier and TypeMethodDescriptionvoid
Fires an event of typeProcessBean
containing the givenBean
and then registers theBean
with the container, thereby making it 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.BeanManager.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 javax.enterprise.inject.spi with type arguments of type Bean