Skip to main content

[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

Nevermind.

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.
* @see #FRAMEWORK_SYSTEMCAPABILITIES
* @since 1.6
*/
String FRAMEWORK_SYSTEMCAPABILITIES_EXTRA = "org.osgi.framework.system.capabilities.extra";


    Tim.



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

Hi,

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.

Thanks,

    Tim.



_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Back to the top