Gets the service instance for the bundle.
The bundle which like to use the service.
The service registration.
Optional
isReturns true if a service has already been created, or false otherwise.
The bundle which like to use the service.
The service registration information.
Releases a service instance.
The bundle which like not longer use the service.
The service registration.
Service instance which should be released.
A factory for creating services.
A service factory is a way to create different service instances for different bundles. For this instead of registering a service instance register a ServiceFactory implementation.