OSGi example code