Skip to content

Native OSGi apform : Error when using the ServiceFactory pattern #161

@gevegab

Description

@gevegab

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions