Package | Description |
---|---|
javax.enterprise.inject.spi |
Modifier and Type | Interface and Description |
---|---|
interface |
Decorator<T>
Decorator Bean.
|
interface |
Interceptor<T>
A Bean for creating and using an interceptor.
|
Modifier and Type | Method and Description |
---|---|
<T> Bean<T> |
BeanManager.createBean(BeanAttributes<T> attributes,
Class<T> beanClass,
InjectionTargetFactory<T> injectionTargetFactory)
Create a
Bean from the given bean attributes. |
<T,X> Bean<T> |
BeanManager.createBean(BeanAttributes<T> attributes,
Class<X> beanClass,
ProducerFactory<X> producerFactory)
Create a
Bean from the given bean attributes. |
Bean<X> |
ProcessBean.getBean()
Returns bean instance.
|
Bean<?> |
InjectionPoint.getBean()
Returns the injection point owner bean.
|
Bean<?> |
BeanManager.getPassivationCapableBean(String id)
Returns passivation capable bean given id.
|
<X> Bean<? extends X> |
BeanManager.resolve(Set<Bean<? extends X>> beans)
Returns a bean object that is resolved according to the type safe resolution rules.
|
Modifier and Type | Method and Description |
---|---|
Set<Bean<?>> |
BeanManager.getBeans(String name)
Returns set of beans with given Expression Language name.
|
Set<Bean<?>> |
BeanManager.getBeans(Type beanType,
Annotation... qualifiers)
Returns set of beans that their api types contain
given bean type and given qualifiers.
|
Modifier and Type | Method and Description |
---|---|
void |
AfterBeanDiscovery.addBean(Bean<?> bean)
Registering the bean with container.
|
InjectionTarget<T> |
InjectionTargetFactory.createInjectionTarget(Bean<T> bean)
Creates an InjectionTarget for the given Bean
|
<T> Producer<T> |
ProducerFactory.createProducer(Bean<T> bean)
Creates a Producer for the given Bean
|
<X> ProducerFactory<X> |
BeanManager.getProducerFactory(AnnotatedField<? super X> field,
Bean<X> declaringBean) |
<X> ProducerFactory<X> |
BeanManager.getProducerFactory(AnnotatedMethod<? super X> method,
Bean<X> declaringBean) |
Object |
BeanManager.getReference(Bean<?> bean,
Type beanType,
CreationalContext<?> ctx)
Returns a bean instance reference for the given bean.
|
Modifier and Type | Method and Description |
---|---|
<X> Bean<? extends X> |
BeanManager.resolve(Set<Bean<? extends X>> beans)
Returns a bean object that is resolved according to the type safe resolution rules.
|
Copyright © 2018. All rights reserved.