In this step the application will be launched from within the Eclipse IDE and tested using the OSGi console.
org.eclipse.soda.sat.tutorial.customer
org.eclipse.soda.sat.tutorial.vendor.hotdog
org.eclipse.soda.sat.tutorial.vendor.popcorn
org.eclipse.soda.sat.tutorial.vendor.service
osgi> prompt at which you can
type a variety of commands to control the framework and the installed
bundles.
org.eclipse.soda.sat.tutorial.customer bundle has acquired
the VendorService registered by the
org.eclipse.soda.sat.tutorial.vendor.hotdog bundle and has
bought a Ball Park hotdog.
help will list all available commands.
osgi> help
---Eclipse Runtime commands.---
diag - Displays unsatisfied constraints for the specified bundle(s).
active - Displays a list of all bundles currently in the ACTIVE state.
getprop { name } - Displays the system properties with the given name, or all of them.
Valid commands:
---Controlling the OSGi framework---
launch - start the OSGi Framework
shutdown - shutdown the OSGi Framework
close - shutdown and exit
exit - exit immediately (System.exit)
gc - perform a garbage collection
init - uninstall all bundles
setprop = - set the OSGi property
---Controlling Bundles---
install - install and optionally start bundle from the given URL
uninstall - uninstall the specified bundle(s)
start - start the specified bundle(s)
stop - stop the specified bundle(s)
refresh - refresh the packages of the specified bundles
update - update the specified bundle(s)
---Displaying Status---
status - display installed bundles and registered services
ss - display installed bundles (short status)
services {filter} - display registered service details
packages {||} - display imported/exported package details
bundles - display details for all installed bundles
bundle (|) - display details for the specified bundle(s)
headers (|) - print bundle headers
log (|) - display log entries
---Extras---
exec - execute a command in a separate process and wait
fork - execute a command in a separate process
---Controlling Start Level---
sl {(|)} - display the start level for the specified bundle, or for the framework if no bundle specified
setfwsl - set the framework start level
setbsl (|) - set the start level for the bundle(s)
setibsl - set the initial bundle start level
------Controlling the Profiling------
profilelog - Display & flush the profile log messages
---Controlling the Console---
more - More prompt for console output
Copyright © 2001, 2007 IBM Corporation and others. All Rights Reserved.