2
edits
Changes
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>
}