Skip to content

Instantly share code, notes, and snippets.

@peterkir
Created February 6, 2017 11:47
Show Gist options
  • Save peterkir/2610c319e7d096fcd5bcaaf13d380688 to your computer and use it in GitHub Desktop.
Save peterkir/2610c319e7d096fcd5bcaaf13d380688 to your computer and use it in GitHub Desktop.
OSGi gogo shell examples
# Gogo Shell Command - inspect
help inspect
# inspect - inspects bundle capabilities and requirements
# scope: felix
# parameters:
# String ('capability' | 'requirement')
# String (<namespace> | 'service')
# Bundle[] target bundles
### available <namespace> are
# * osgi.wiring.bundle
# * osgi.wiring.package
# * osgi.wiring.host
## examples
inspect r osgi.wiring.bundle 1
inspect r osgi.wiring.package 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment