SeamFramework.orgCommunity Documentation
Weld-OSGi is composed of five bundles:
The API bundle that describes the programming model and the OSGi extension mechanism.
The SPI bundle that describes the CDI implementation hooking mechanism.
The third party API bundle that provides all the needed third party API.
The extension bundle that extends the OSGi environment by managing bean bundles,
The integration bundle that provides OSGi ready Weld containers to the extension bundle.
Note that as Weld-OSGi runs in an OSGi environment and it is implicit that there is an OSGi core bundle too. This one provides OSGi features for all other bundles, including bean bundles. But it is not an actual part of Weld-OSGi.
Figure 1.1. The five bundles of Weld-OSGi
These bundles could regroup in two part (as shown in the figure above):
Extension part: this part represents the actual OSGi extension. It detects and manages bean bundles and provides the programming model. This part is more described in chapter 2.
Integration part: this part represents the Weld integration. It provides all the Weld containers needed by the extension part and defines how these containers should hook up with bean bundles. This part is more described in chapter 3.
The third party API bundle : this bundle does not actually belong to a part.