The Plugin.properties File

When the container loads extensions in runtime, it will read the plugin.properties file of each extension. The container may gather information such as the extension name, version, implementation class, and distribution dependencies from this file. Create a plugin.properties file, such as the example below.

product=SampleBWPlugin

version=1.0.0

plugin.impl=com.tibco.sf.container.bw.extension.MyFirstPluginExtension

TIBCO_ActiveMatrix_BW_Distribution=[5.9.2, 6.0.0)

Your plugin.properties file must contain the following items:
  • The product value - it is the BusinessWorks plugin name.

  • The version value - it is the version of the plugin.
  • The plugin.impl - it is the Java package and class name implemented in the extension. This property can be omitted if no BusinessWorks extension is needed, but the product and version properties cannot be omitted.
  • The name - as shown above as TIBCO_ActiveMatrix_BW_Distribution, it is the name of the BusinessWorks distribution that is compatible with the Grid Library the Extension. Use square brackets [ ] to indicate a version is inclusive, or parenthesis ( ) to indicate that it is exclusive. The above statement means this distribution depends on BusinessWorks between version 5.9.2 (inclusive) and 6.0.0 (exclusive).