[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Provide capability question


I have two question about Provide capability and Require-Capability.

Background: you declare that you provide ds in version 1.2 via the
following snippet in your MANIFEST.MF

Provide-Capability: osgi.extender;

A plug-in which requires his capablitiy defines the following:

Require-Capability: osgi.extender;

The first question is: Where is this defined that these are the
correct entries? I use
to "remember" the correct way to define it, but I guess there is a
more general way.

The second question is. What is the correct way to use
Provide-Capability and Provide-Capability for my customer code? In my
example, I provide a service via DS and want to ensure that the
consumer is only started if the service is available. I think
Require-Capability is the correct way, but I have not seen an example
for a customer capability yet.

Best regards, Lars

Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
GeschÃftsfÃhrer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com