2
edits
Changes
no edit summary
<b>ServiceReference reference = context.getServiceReference(BookFinder.class.getName());</b>
2. Look for the service object referenced by the specified ''ServiceReference'' object, namely the ''reference'' variable obtained at the first step.
if (reference != null)
<b> finderService = (BookFinder) context.getService(reference);</b>