Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 1.34 KB

definition_full.asciidoc

File metadata and controls

37 lines (20 loc) · 1.34 KB

{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.

Scopes in {cdi_full}

Built-in scope types in {cdi_full}

In addition to built-in scope types defined in [builtin_scopes], the following built-in scope is present:

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.

Bean defining annotations in {cdi_full}

In addition to bean defining annotations defined in [bean_defining_annotations], the following bean defining annotations are present:

  • @ConversationScoped annotation,

  • @Decorator annotation.

Built-in stereotypes in {cdi_full}

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].