|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Bean | |
---|---|
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 | |
---|---|
interface |
Decorator<T>
Represents an enabled decorator. |
interface |
Interceptor<T>
Represents an enabled interceptor. |
Methods in javax.enterprise.inject.spi that return Bean | ||
---|---|---|
|
BeanManager.createBean(BeanAttributes<T> attributes,
Class<?> beanClass,
Producer<T> producer)
Obtains a Bean for the given BeanAttributes , bean class and Producer . |
|
|
BeanManager.createBean(BeanAttributes<T> attributes,
Class<T> beanClass,
InjectionTarget<T> injectionTarget)
Obtains a Bean for the given BeanAttributes , bean class and InjectionTarget . |
|
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. |
|
|
BeanManager.resolve(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 | |
---|---|
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 Java 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 Java EE component from whose JNDI environment namespace the BeanManager was obtained, according to the rules of typesafe resolution. |
Methods in javax.enterprise.inject.spi with parameters of type Bean | ||
---|---|---|
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 it available for injection into other beans. |
|
|
BeanManager.createProducer(AnnotatedField<? super X> field,
Bean<X> declaringBean)
Obtains a Producer for the given AnnotatedField . |
|
|
BeanManager.createProducer(AnnotatedMethod<? super X> method,
Bean<X> declaringBean)
Obtains a Producer for the given AnnotatedKetuod . |
|
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. |
Method parameters in javax.enterprise.inject.spi with type arguments of type Bean | ||
---|---|---|
|
BeanManager.resolve(Set<Bean<? extends X>> beans)
Apply the ambiguous dependency resolution rules to a set of beans. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |