{cdi_full} contains all the functionality defined in {cdi_lite} and adds some additional features such as specialization, decorators or conversation scope. Some of these concepts were briefly mentioned in the previous {cdi_lite} chapter and this section of specification defines them in depth.
In addition to built-in scope types defined in [builtin_scopes], the following built-in scope is present:
-
The
@ConversationScoped
annotation represents the conversation scope defined in [conversation_context_full].
In addition to rules defined in [builtin_scopes], the following rules apply.
If a decorator has any scope other than @Dependent
, non-portable behavior results.
In addition to bean defining annotations defined in [bean_defining_annotations], the following bean defining annotations are present:
-
@ConversationScoped
annotation, -
@Decorator
annotation.
In addition to built-in stereotypes defined in [builtin_stereotypes], the following built-in stereotype is present.
The special-purpose @Decorator
stereotype is defined in [decorator_annotation].