if a native OSGi service uses the Service Factory pattern, Apam uses the wrong bundle context to get the service object.
This is difficult to fix, because it requires knowing the requesting bundle. This implies large fixes at the
apform level.
There is an additional issue when using the API directly: Instance.getServiceObject() , as there is no natural requesting bundle. Adding a parameter will make the API dependent on OSGi classes.