We will later use the OSGI console. This console is like a MS-DOS prompt. In this console you can type command to perform certain OSGI actions. For following is a reference of OSGi commands.
Use for example the command ss to get an overview of all bundles and their status.
Table 1. OSGi commands
Command | Desription |
---|---|
help | Lists the available commmands. |
ss | Gives you an overview of the installed bundles and their status. |
ss vogella | Gives you an overview of the bundles and their status if they have vogella within their name. |
start id | Starts the bundle with id |
stop id | Stops the bundle with id |
install URL | Installs a bundles from an URL |
uninstall id | Uninstalls the bundle with id |
services filter | Show all available services and their consumer. Filter is optional. |
Bundles can be identified via their id which is displayed by the command ss.
0 comments:
Post a Comment