Bean instance.
CDI container must provides an implementation of this interface.
This builder is not thread safe and shall not be used concurrently.
CDI Lite implementations are not required to provide support for Portable Extensions.
AfterBeanDiscovery#addBean()
| Modifier and Type | Method and Description |
|---|---|
| public BeanConfigurator | Returns: selfthe injectionPoint to add injectionPoint)Add an InjectionPoint to the configured bean |
| public BeanConfigurator | Returns: selfthe injectionPoints to add injectionPoints)Add InjectionPoints to the configured bean |
| public BeanConfigurator | Returns: selfthe injectionPoints to add injectionPoints)Add InjectionPoints to the configured bean |
| public BeanConfigurator | Returns: selfqualifier to add qualifier)Add a qualifier to the configured bean |
| public BeanConfigurator | |
| public BeanConfigurator | |
| public BeanConfigurator | Returns: selfstereotype to add stereotype)Add a stereotype to the configured bean |
| public BeanConfigurator | Returns: selfstereotypes to add stereotypes)Add stereotypes to the configured bean |
| public BeanConfigurator | Returns: selfto build the closure from type)Adds an unrestricted set of bean types for the given type as if it represented a bean class of a managed bean. |
| public BeanConfigurator | |
| public BeanConfigurator | |
| public BeanConfigurator | |
| public BeanConfigurator | |
| public BeanConfigurator | Returns: selfvalue for alternative property value)Change the alternative status of the configured bean. |
| public BeanConfigurator | |
| public < instance type U extends T> BeanConfigurator | Returns: selfthe callback to create the instance callback)Set a callback to create a bean instance. |
| public BeanConfigurator | Returns: selfthe callback to destroy the instance callback)Set a callback to destroy a bean instance. |
| public BeanConfigurator | Returns: selfthe callback to dispose the instance callback)Set a callback to destroy a bean instance. |
| public BeanConfigurator | Returns: selffor id)Make the configured bean implements |
| public BeanConfigurator | Returns: selfthe injectionPoints for the configured bean injectionPoints)Replace InjectionPoints for the configured bean |
| public BeanConfigurator | Returns: selfthe injectionPoints for the configured bean injectionPoints)Replace InjectionPoints for the configured bean |
| public BeanConfigurator | |
| public BeanConfigurator | |
| public < instance type U extends T> BeanConfigurator | Returns: selfthe callback to create the instance callback)Set a callback to create a bean instance. |
| public BeanConfigurator | Returns: selfqualifiers for the build bean qualifiers)Replace all qualifiers. |
| public BeanConfigurator | |
| public < instance type U extends T> BeanConfigurator | Returns: selfclass to read information from type)Read the information from the given annotated type. |
| public BeanConfigurator | Returns: selfbeanAttributes to read information from beanAttributes)Read the information from the given bean attributes. |
| public BeanConfigurator | Returns: selfnew scope for the configured bean scope)Replace Bean scope |
| public BeanConfigurator | Returns: selffor the configured bean stereotypes)Replace stereotypes on the configured bean |
| public BeanConfigurator | |
| public BeanConfigurator |
| addInjectionPoint | back to summary |
|---|---|
| public BeanConfigurator Add an InjectionPoint to the configured bean
| |
| addInjectionPoints | back to summary |
|---|---|
| public BeanConfigurator Add InjectionPoints to the configured bean
| |
| addInjectionPoints | back to summary |
|---|---|
| public BeanConfigurator Add InjectionPoints to the configured bean
| |
| addQualifier | back to summary |
|---|---|
| public BeanConfigurator Add a qualifier to the configured bean
| |
| addQualifiers | back to summary |
|---|---|
| public BeanConfigurator Add qualifiers to the bean.
| |
| addQualifiers | back to summary |
|---|---|
| public BeanConfigurator Add qualifiers to the bean.
| |
| addStereotype | back to summary |
|---|---|
| public BeanConfigurator Add a stereotype to the configured bean
| |
| addStereotypes | back to summary |
|---|---|
| public BeanConfigurator Add stereotypes to the configured bean
| |
| addTransitiveTypeClosure | back to summary |
|---|---|
| public BeanConfigurator Adds an unrestricted set of bean types for the given type as if it represented a bean class of a managed bean. Illegal bean types are omitted.
| |
| addType | back to summary |
|---|---|
| public BeanConfigurator Add a type to the bean types
| |
| addType | back to summary |
|---|---|
| public BeanConfigurator Add a type to the bean types
| |
| addTypes | back to summary |
|---|---|
| public BeanConfigurator Add types to the bean types
| |
| addTypes | back to summary |
|---|---|
| public BeanConfigurator Add types to the bean types
| |
| alternative | back to summary |
|---|---|
| public BeanConfigurator Change the alternative status of the configured bean. By default the configured bean is not an alternative.
| |
| beanClass | back to summary |
|---|---|
| public BeanConfigurator Set the class of the configured Bean. If not set, the extension class is used.
| |
| createWith | back to summary |
|---|---|
| public <U extends T> BeanConfigurator Set a callback to create a bean instance.
| |
| destroyWith | back to summary |
|---|---|
| public BeanConfigurator Set a callback to destroy a bean instance. If no destroy callback is specified, a NOOP callback is automatically set.
| |
| disposeWith | back to summary |
|---|---|
| public BeanConfigurator Set a callback to destroy a bean instance. If no dispose callback is specified, a NOOP callback is automatically set.
The
| |
| id | back to summary |
|---|---|
| public BeanConfigurator Make the configured bean implements
| |
| injectionPoints | back to summary |
|---|---|
| public BeanConfigurator Replace InjectionPoints for the configured bean
| |
| injectionPoints | back to summary |
|---|---|
| public BeanConfigurator Replace InjectionPoints for the configured bean
| |
| name | back to summary |
|---|---|
| public BeanConfigurator Set the name of the configured bean
| |
| priority | back to summary |
|---|---|
| public BeanConfigurator Set the priority of the configured bean. By default, the configured bean does not have a priority.
This is equivalent to putting the This method has no effect if the configured bean is not an alternative.
| |
| produceWith | back to summary |
|---|---|
| public <U extends T> BeanConfigurator Set a callback to create a bean instance.
The
| |
| qualifiers | back to summary |
|---|---|
| public BeanConfigurator Replace all qualifiers.
| |
| qualifiers | back to summary |
|---|---|
| public BeanConfigurator Replace all qualifiers.
| |
| read | back to summary |
|---|---|
| public <U extends T> BeanConfigurator Read the information from the given annotated type. All relevant information is overwritten.
| |
| read | back to summary |
|---|---|
| public BeanConfigurator Read the information from the given bean attributes. All relevant information is overwritten.
| |
| scope | back to summary |
|---|---|
| public BeanConfigurator Replace Bean scope
| |
| stereotypes | back to summary |
|---|---|
| public BeanConfigurator Replace stereotypes on the configured bean
| |
| types | back to summary |
|---|---|
| public BeanConfigurator Replace bean types
| |
| types | back to summary |
|---|---|
| public BeanConfigurator Replace bean types
| |