19.8. Editing a Profile's Bundles
Abstract
Containers can provision OSGi bundles. Using the Bundles tab, you can add and remove bundles from the profile's list.
Overview
Fuse containers are OSGi containers, so you can add functionality to them by deploying OSGi bundles into them.
Using the Bundles tab you can list one or more bundles to deploy and Fuse Fabric will look at the known repositories to provision the container. You can add repositories from the Repositories tab.
Adding a bundle
Warning
Adding a bundle to a profile will add the bundle to any deployed container that is currently using the selected profile.
To add a bundle:
- Select the profile to which you want to add bundles.The Profiles page for the selected profile opens.
- Select the Bundles tab.The Bundles tab will be shown on the bottom of the Profiles page.
- In the Add new bundle field, enter the name of the bundle to be added to the profile.
- Click.The new bundle will appear on the list and all containers using the profile will be updated to include the new bundle.
Editing a bundle
Editing a bundle allows you to change the name of the bundle to be loaded. This will cause the bundle that is currently part of the profile to be deleted and the bundle with the new name to be added to the profile.
Warning
Changing a bundle in a profile will change the bundle on any deployed container that is currently using the selected profile.
To edit a bundle:
- Select the profile from which you want to edit features.The Profiles page for the selected profile opens.
- Select the Bundles tab.The Bundles tab will be shown on the bottom of the Profiles page.
- Locate the bundle to be edited.
- Clickto the right of the bundle's name.The field becomes editable.
- Edit the value.
- Click.The old bundle is removed and the new bundle is added.
Deleting a bundle
Warning
Deleting a bundle from a profile will remove the bundle from any deployed container that is currently using the selected profile.
To delete a bundle:
- Select the profile from which you want to delete bundles.The Profiles page for the selected profile opens.
- Select the Bundles tab.The Bundles tab will be shown on the bottom of the Profiles page.
- Locate the bundle to be deleted in the list of bundles.
- Click theto the right of the bundle's name.A confirmation dialog opens.
- Click.The bundle is removed from the list and all containers using the profile.