According to the Carbon architecture, all functionality and features available in Carbon products are built using OSGI bundles. Therefore, it is possible to extend the features available in the Carbon platform by adding new OSGI bundles to the product build. You can also add JAR files that are not OSGI bundles into the product build, which will be converted into OSGI bundles during server startup. All these OSGI bundles/JARs are stored in the OSGI repository of the product.
The WSO2 Carbon OSGI repository
The OSGI repository is located in the
<PRODUCT_HOME>/repository/components directory. The users are allowed to apply JARs/OSGI bundles to any of the following directories:
|Third-party libraries, which are already OSGI bundles.|
|JAR files that will be converted to OSGi bundles and copied to the dropins directory during server startup.|
|JAR files that will be converted to OSGi Framework Extension bundles and copied to the dropins directory during server startup.|
Note that it is not recommend to manually edit the
bundles.info file of the server in the
$CARBON_HOME/repository/components/default/configuration/org.eclipse.equinox.simpleconfigurator directory. The
bundles.info file is updated automatically during server startup.