2
edits
Changes
no edit summary
* [http://www.osgi.org/javadoc/r4v42/org/osgi/framework/BundleActivator.html BundleActivator]
<h4>2. Define the Bundle that provide Service Provider</h4><h5> 2.1 Define the service (Generic Bundle Service Provider Bundle)</h4h5> <h5>2.1.1 Define the Java Interface that exposes the services</h5>
Let us suppose that you want to define a service that allows the user to find a book from the book isbn. Then the interface should look similare with this one:
<source lang="java">
Export-Package: cs.ecl.osgi.simple.bookfinder
</source>
<h5>2.1 2 Define the Java classes that implement that servicesConcrete Bundle Provider</h5>