osgi:felix
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
osgi:felix [2019/01/24 21:36] – odefta | osgi:felix [2023/07/04 19:36] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 10: | Line 10: | ||
Apache Felix Gogo is a subproject of Apache Felix implementing a command line shell for OSGi. It is used in many OSGi runtimes and servers (Felix distro, Eclipse IDE, Apache Karaf, ...). | Apache Felix Gogo is a subproject of Apache Felix implementing a command line shell for OSGi. It is used in many OSGi runtimes and servers (Felix distro, Eclipse IDE, Apache Karaf, ...). | ||
+ | |||
+ | All commands here: http:// | ||
==== Commands ==== | ==== Commands ==== | ||
Line 19: | Line 21: | ||
</ | </ | ||
+ | < | ||
Welcome to Apache Felix Gogo | Welcome to Apache Felix Gogo | ||
+ | </ | ||
=== List bundles === | === List bundles === | ||
Line 42: | Line 46: | ||
< | < | ||
- | g! install file:../OSGiHelloWorldProvider-1.0.jar | + | install file:/// |
</ | </ | ||
< | < | ||
Bundle ID: 5 | Bundle ID: 5 | ||
+ | </ | ||
+ | |||
+ | === Start bundle === | ||
+ | |||
+ | < | ||
+ | start 5 | ||
+ | </ | ||
+ | |||
+ | === Check bundle status === | ||
+ | |||
+ | < | ||
+ | bundle 5 | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Location | ||
+ | State 32 | ||
+ | LastModified | ||
+ | Headers | ||
+ | Version | ||
+ | BundleContext | ||
+ | RegisteredServices | ||
+ | Bundle | ||
+ | Revisions | ||
+ | SymbolicName | ||
+ | BundleId | ||
+ | ServicesInUse | ||
+ | </ | ||
+ | |||
+ | === Stop bundle === | ||
+ | |||
+ | < | ||
+ | stop 5 | ||
+ | </ | ||
+ | |||
+ | === Uninstall bundle === | ||
+ | |||
+ | < | ||
+ | uninstall 5 | ||
+ | </ | ||
+ | |||
+ | === List all services === | ||
+ | |||
+ | < | ||
+ | inspect capability service | ||
+ | </ | ||
+ | |||
+ | or - short version: | ||
+ | |||
+ | < | ||
+ | inspect cap service | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | org.apache.felix.framework [0] provides: | ||
+ | ---------------------------------------- | ||
+ | service; org.osgi.service.resolver.Resolver with properties: | ||
+ | | ||
+ | | ||
+ | | ||
+ | service; org.osgi.service.packageadmin.PackageAdmin with properties: | ||
+ | | ||
+ | | ||
+ | | ||
+ | service; org.osgi.service.startlevel.StartLevel with properties: | ||
+ | | ||
+ | | ||
+ | | ||
+ | Used by: | ||
+ | org.apache.felix.framework [0] | ||
+ | |||
+ | org.jline [1] provides: | ||
+ | ----------------------- | ||
+ | service [EMPTY] | ||
+ | |||
+ | org.apache.felix.gogo.command [2] provides: | ||
+ | ------------------------------------------- | ||
+ | service; org.apache.felix.gogo.command.Basic with properties: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | service; org.apache.felix.gogo.command.Inspect with properties: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Used by: | ||
+ | org.apache.felix.gogo.runtime [4] | ||
+ | service; org.apache.felix.gogo.command.Files with properties: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | org.apache.felix.gogo.jline [3] provides: | ||
+ | ----------------------------------------- | ||
+ | service; org.apache.felix.service.command.Converter with properties: | ||
+ | | ||
+ | | ||
+ | | ||
+ | Used by: | ||
+ | org.apache.felix.gogo.runtime [4] | ||
+ | service; org.apache.felix.gogo.jline.Builtin with properties: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | service; org.apache.felix.gogo.jline.Procedural with properties: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | service; org.apache.felix.gogo.jline.Posix with properties: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | service; org.apache.felix.gogo.jline.Shell with properties: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | org.apache.felix.gogo.runtime [4] provides: | ||
+ | ------------------------------------------- | ||
+ | service; org.apache.felix.service.threadio.ThreadIO with properties: | ||
+ | | ||
+ | | ||
+ | | ||
+ | service; org.apache.felix.service.command.CommandProcessor with properties: | ||
+ | | ||
+ | | ||
+ | | ||
+ | Used by: | ||
+ | org.apache.felix.gogo.jline [3] | ||
+ | |||
+ | MJ-OSGIHelloWorldProvider [5] provides: | ||
+ | --------------------------------------- | ||
+ | service; ro.medjava.osgi.provider.able.HelloWorldService with properties: | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Bundle 6 is not resolved. | ||
+ | </ | ||
+ | |||
+ | === Lists all services provided by a bundle === | ||
+ | |||
+ | < | ||
+ | inspect cap service 5 | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | MJ-OSGIHelloWorldProvider [5] provides: | ||
+ | --------------------------------------- | ||
+ | service; ro.medjava.osgi.provider.able.HelloWorldService with properties: | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | === Exit shell === | ||
+ | |||
+ | < | ||
+ | CTRL + D | ||
</ | </ | ||
osgi/felix.1548358613.txt.gz · Last modified: 2023/07/04 19:36 (external edit)