Releases a service object customized for a bundle.
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)