Regarding "singleton: = true" in the manifest file

I have a plugin that currently does not have any additional points (it also does not extend any other plugin). To solve a specific problem, I need to create an extension point for this plugin and a corresponding extension elsewhere.

When this eclipse made me set singleton:=true in the manifest file. I know the reason why this parameter should be set, but I wanted to know if there are any consequences for the plugin to function inside the product by entering this parameter.

Thanks.

+4
source share
1 answer

"singleton: = true" means that there is only one version in the OSGi environment.

Eclipse automatically adds a flag due to providing an extension point in your package. If there are two versions of your packages that provide the same extension point (have the same identity, may differ from attributes or elements), this can damage.

+4
source

All Articles