Open main menu

CDOT Wiki β

Changes

Steps for Building Applications from Bundels

No change in size, 12:15, 5 October 2011
no edit summary
----------
<h4>43. Define the Bundle Service Provider</h4>
The service ''bookfinder'' could be used only if there is a bundle that implements the service. The bundle ''cs.ecl.osgi.simple.bookfinderservice'' implements ''BundleActivator'' interface in the ''Activator'' class. This bundle will be called 'service provider'.
<h5>43.1 Define the Activator class for the service provider</h5>
<source lang="java">
package cs.ecl.osgi.simple.bookfinderservice;