Component Installation - mareknovotny/seam-migration GitHub Wiki
Seam 2 offers the @Install annotation for controlling whether a given
bean should be installed or not. The following concepts are supported
and can be configured using the annotation:
-
explicit prevention from installation
-
installation dependencies
-
bean specialization
The CDI specification itself does not define a single replacement for
all the functionality represented by the
@Install annotation. Instead, the concepts are implemented separately.
| Concept | Seam 2 | CDI |
|---|---|---|
explicit prevention from installation |
|
DeltaSpike’s |
installation dependencies |
|
No match |
bean specialization |
|
|