Changes

Jump to: navigation, search

OSGi : Develop Simple Apps

258 bytes added, 00:03, 23 January 2011
no edit summary
if (reference != null)
<b> finderService = (BookFinder) context.getService(reference);</b>
 
3. If the service reference is valid, invoke its services and <b>release the service object</b> referenced by the specified ''ServiceReference'' object.
if (finderService != null) {
// invoke the services
<b>context.ungetService(reference);</b>
}

Navigation menu