2
edits
Changes
no edit summary
}
</source>
Steps to find and use the service:
1. Look for the service reference in the bundle context:
<b>ServiceReference reference = context.getServiceReference(BookFinder.class.getName());</b>
/** The Framework returns ''ServiceReference'' objects from the ''BundleContext.getServiceReference'' method.
A ''ServiceReference'' object may be shared between bundles and can be used:
1. to examine the properties of the service
2. to get the service object. */
2.