Bundles and Plug-in Projects
A bundle is an OSGI mechanism for grouping Java classes into a modular, sharable unit. In TIBCO Business Studio, a plug-in project implements a bundle.
Plug-in properties, including the packages it exports and the objects on which it depends, are described in the plug-in manifest. The manifest file is located in
plug-inFolderNameMETA-IF/MANIFEST.MF. The default editor for the file is a manifest editor which displays OSGi headers in property sheets and in the MANIFEST.MF source view.
Plug-in Project Best Practices summarizes the best practices you should follow when configuring plug-ins.
Property | Manifest Editor UI | OSGi Header in Source View | Best Practice |
---|---|---|---|
Unique Identifier | Bundle-SymbolicName | Give the plug-in a symbolic name that follows Java package name conventions. That is, com.companyName.plug-inName. | |
Version | Bundle-Version | Follow the recommendations in Versions. | |
Display Name | Bundle-Name | Give the plug-in an appropriate, descriptive display name. | |
Dependencies | Imported Packages Required Plug-ins |
Import-Package
Require-Bundle |
|
Exported Packages | Export-Package |
|
Copyright © Cloud Software Group, Inc. All rights reserved.