Class-based and producer-based beans directly correspond to a declaration in program source code. Synthetic beans don't and are instead defined through other mechanisms, such as extensions.
| Modifier and Type | Method and Description |
|---|---|
| public default InterceptorInfo | |
| public ClassInfo | |
| public DisposerInfo | |
| public Collection | Returns: immutable collection of injection points, nevernullReturns a collection of this bean's injection points. |
| public boolean | Returns: whether this bean is an alternativeReturns whether this bean is an alternative. |
| public boolean | Returns: whether this bean is a managed beanReturns whether this bean is a managed bean, also known as class-based bean. |
| public default boolean | Returns: whether this bean is an interceptorReturns whether this bean is an interceptor. |
| public boolean | Returns: whether this bean is defined by a producer fieldReturns whether this bean is defined by a producer field. |
| public boolean | Returns: whether this bean is defined by a producer methodReturns whether this bean is defined by a producer method. |
| public boolean | |
| public String | Returns: the bean name, ornull if the bean does not have a nameReturns the bean name of this bean. |
| public Integer | |
| public FieldInfo | Returns: producer field that defines this bean, ornull if this bean is not defined by a producer fieldReturns the producer field that defines this bean. |
| public MethodInfo | Returns: producer method that defines this bean, ornull if this bean is not defined by a producer methodReturns the producer method that defines this bean. |
| public Collection | Returns: immutable collection of qualifiers, nevernullReturns a collection of this bean's qualifiers, represented as |
| public ScopeInfo | |
| public Collection | Returns: immutable collection of stereotypes, nevernullReturns a collection of this bean's stereotypes. |
| public Collection |
| asInterceptor | back to summary |
|---|---|
| public default InterceptorInfo asInterceptor() Returns this bean as an interceptor.
| |
| declaringClass | back to summary |
|---|---|
| public ClassInfo declaringClass() Returns the class that declares this bean.
In case of a managed bean, also known as class-based bean, that is the bean class directly.
In case of a producer method or field, that is the class that declares the producer method or field.
Returns | |
| disposer | back to summary |
|---|---|
| public DisposerInfo disposer() Returns the disposer method of this producer-based bean.
Returns
| |
| injectionPoints | back to summary |
|---|---|
| public Collection Returns a collection of this bean's injection points.
| |
| isAlternative | back to summary |
|---|---|
| public boolean isAlternative() Returns whether this bean is an alternative.
| |
| isClassBean | back to summary |
|---|---|
| public boolean isClassBean() Returns whether this bean is a managed bean, also known as class-based bean.
| |
| isInterceptor | back to summary |
|---|---|
| public default boolean isInterceptor() Returns whether this bean is an interceptor.
| |
| isProducerField | back to summary |
|---|---|
| public boolean isProducerField() Returns whether this bean is defined by a producer field.
| |
| isProducerMethod | back to summary |
|---|---|
| public boolean isProducerMethod() Returns whether this bean is defined by a producer method.
| |
| isSynthetic | back to summary |
|---|---|
| public boolean isSynthetic() Returns whether this bean is synthetic. In other words, whether this bean does not correspond to a declaration in program source code and was created through other means (e.g. using an extension).
| |
| name | back to summary |
|---|---|
| public String name() Returns the bean name of this bean. A bean name is usually defined
using the
| |
| priority | back to summary |
|---|---|
| public Integer priority() Returns the priority declared on this bean, or
| |
| producerField | back to summary |
|---|---|
| public FieldInfo producerField() Returns the producer field that defines this bean.
Returns
| |
| producerMethod | back to summary |
|---|---|
| public MethodInfo producerMethod() Returns the producer method that defines this bean.
Returns
| |
| qualifiers | back to summary |
|---|---|
| public Collection Returns a collection of this bean's qualifiers, represented as
| |
| scope | back to summary |
|---|---|
| public ScopeInfo scope() Returns the scope of this bean. | |
| stereotypes | back to summary |
|---|---|
| public Collection Returns a collection of this bean's stereotypes.
| |
| types | back to summary |
|---|---|
| public Collection Returns a collection of all types of this bean.
| |