Pepijn Noltes created CELIX-428:
-----------------------------------
Summary: Add support for static library bundles
Key: CELIX-428
URL: https://issues.apache.org/jira/browse/CELIX-428
Project: Celix
Issue Type: Improvement
Components: Framework
Affects Versions: 2.3.0
Reporter: Pepijn Noltes
Adds support for static bundle libraries. These bundles can be used to create a single executable
celix containers. For different reasons (e.g. security), docker containers, etc.
Proposal:
The static library bundle should use the __attribute__((constructor)) to register itself
to all (or first?) register celix frameworks. The function which does this can be generated
in the CMake command for creating the static library bundle (e.g. add_celix_static_bundle).
The constructor should register the activator callbacks (which as result should have unique
symbols names) and attached bundle resource symbols (same as in the shared library bundle)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
|