|
||||||||||
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 | ||
---|---|---|
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. |
|
|
BeanManager.getMostSpecializedBean(Bean<X> bean)
Returns the Bean object representing the
most specialized enabled bean registered with the container that
specializes the given bean, |
|
Bean<?> |
BeanManager.getPassivationCapableBean(java.lang.String id)
Returns the PassivationCapableBean with the given identifier. |
|
|
BeanManager.resolve(java.util.Set<Bean<? extends X>> beans)
Apply the ambiguous dependency resolution rules |
Methods in javax.enterprise.inject.spi that return types with arguments of type Bean | |
---|---|
java.util.Set<Bean<?>> |
BeanManager.getBeans(java.lang.String name)
Returns 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. |
java.util.Set<Bean<?>> |
BeanManager.getBeans(java.lang.reflect.Type beanType,
java.lang.annotation.Annotation... qualifiers)
Returns 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.getMostSpecializedBean(Bean<X> bean)
Returns the Bean object representing the
most specialized enabled bean registered with the container that
specializes the given bean, |
|
java.lang.Object |
BeanManager.getReference(Bean<?> bean,
java.lang.reflect.Type beanType,
CreationalContext<?> ctx)
Obtains a contextual reference for a given bean and a given bean type. |
Method parameters in javax.enterprise.inject.spi with type arguments of type Bean | ||
---|---|---|
|
BeanManager.resolve(java.util.Set<Bean<? extends X>> beans)
Apply the ambiguous dependency resolution rules |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |