[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Supply Provide-Capability to Framework in 3.9.0


I found this:

* Framework launching property identifying extra capabilities which the
* system bundle must additionally provide.
* <p>
* This property is useful for configuring extra system capabilities in
* addition to the system capabilities calculated by the framework.
* <p>
* The value of this property may be retrieved by calling the
* {@code BundleContext.getProperty} method.
* @since 1.6
String FRAMEWORK_SYSTEMCAPABILITIES_EXTRA = "org.osgi.framework.system.capabilities.extra";


On Apr 9, 2014, at 2:14 PM, Tim Diekmann <tdiekman@xxxxxxxxx> wrote:


is there a way to programmatically tell the Framework object in Equinox 3.9.0 to add a Provide-Capability header?
There are other constants that can be added to the configuration passed to the FrameworkFactory, but I couldn’t find any one that would cause the Framework (SystemBundle) to provide a capability.

If this is not possible programmatically, then it would require a Framework Extension bundle, but since I am the one creating the Framework in the first place, it would be nice to be able to do this programmatically.



equinox-dev mailing list