I'm using Equinox and I've got an OSGI.BND file which looks like this
Service-Component: DefaultCommunication;\
provide:=com.whatever.service.Communication;\
implementation:=com.whatever.myservice.DefaultCommunication
But now I want to provide two interfaces, Communication and Configuration.
What would the file look like then?
Based on Bnd format specification:
LIST A comma separated list. Items should be quoted with '"' if the contain commas. In general, a list item can also define attributes and directives on an item.
Bnd Service Components description:
provide ::= 'provide:=' LIST
In your case:
provide:=com.whatever.service.Communication,com.whatever.service.Configuration