|
Re: Prevent bundle from loading [message #1396707 is a reply to message #1391147] |
Tue, 08 July 2014 17:13 |
Eclipse User |
|
|
|
The workbench shows contributions from both started and lazily-activated bundles. You could make your license-checked bundles be explicitly started, or use property-testers or activities (not fully supported in 4.x yet) to control their visibility.
Brian.
|
|
|
|
Re: Prevent bundle from loading [message #1398017 is a reply to message #1398010] |
Thu, 10 July 2014 13:42 |
Eclipse User |
|
|
|
Philipp, there shouldn't be any contributions from an unstarted bundle (i.e., from bundles in the RESOLVED state). Contributions from started and lazily-activated bundles will be shown (in the ACTIVE or STARTING states), however. You can see the states from the OSGi console.
Brian.
|
|
|
|
Re: Prevent bundle from loading [message #1398114 is a reply to message #1398035] |
Thu, 10 July 2014 16:36 |
Eclipse User |
|
|
|
Throwing an exception prevents your bundle from being started, but its plugin.xml file is processed by the extension registry on start. It sounds like you want to make your bundle be manually activated (i.e., remove the Bundle-ActivationPolicy entirely).
Brian.
|
|
|
Powered by
FUDForum. Page generated in 0.08034 seconds