true
if you are the last user of the reference.
@see org.osgi.framework.BundleContext#ungetService(org.osgi.framework.ServiceReference)
The service's service object should no longer be used and all references to it should be destroyed when a module's use count for the service drops to zero.
The following steps are required to unget the service object:
The service object must no longer be used and all references to it should be destroyed when a bundle's use count for the service drops to zero.
The following steps are required to release the service object:
The Framework invokes this method when a service has been released by a bundle. The service object may then be destroyed.
If this method throws an exception, a framework event of type {@link FrameworkEvent#ERROR} is fired containing a service exception oftype {@link ServiceException#FACTORY_EXCEPTION} with the thrown exceptionas the cause. @param bundle The bundle releasing the service. @param registration The {@code ServiceRegistration} object for theservice being released. @param service The service object returned by a previous call to the{@link #getService(Bundle,ServiceRegistration) getService}method. @see BundleContext#ungetService(ServiceReference)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|