Pepijn Noltes created CELIX-409:
-----------------------------------
Summary: Extend Dependency Manager C/C++
Key: CELIX-409
URL: https://issues.apache.org/jira/browse/CELIX-409
Project: Celix
Issue Type: New Feature
Reporter: Pepijn Noltes
The dependency manager offers declarative API for working with services and is
arguable more easier
to use than the official OSGi Api. Extend the DM so that in can be used for
virtually any bundle
without directly using the bundle context, bundle, module, service ref, service
registration, etc API.
This provided a much smaller API providing almost the same functionality.
This means:
1. Add support for service factory
1. Add support for providing listener hooks. Note that this is already
supported by registering
a `listener_hook_service` service, but maybe a more abstracted way.
1. Add support looking up and opening resources in the bundle.
1. Replace add,remove, etc callbacks which uses the service reference, with
callbacks using properties
1. Test if the dm correctly works when adding / removing provided services and
service dependencies after a component is started.
1. Getting framework properties (e.g. bundleContext_getProperty)
1. Support for getting basic info from bundle (version, symbolic name, manifest)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)