Skip to content

Instantly share code, notes, and snippets.

@chbaranowski
Created February 22, 2015 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chbaranowski/d57a5f3579149436d2fe to your computer and use it in GitHub Desktop.
Save chbaranowski/d57a5f3579149436d2fe to your computer and use it in GitHub Desktop.
Provide-Capability and Require-Capability headers
# provider bundle
Provide-Capability: \
osgi.whiteboard;\
osgi.whiteboard="java.ee.jaxrs";\
version:Version="1.0.0"; \
effective:=active
# consumer bundle
Require-Capability:
osgi.whiteboard; \
filter:="(osgi.whiteboard=java.ee.jaxrs)";\
effective:=active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment