Apache Celix
2.3.0
An implementation of the OSGi specification adapted to C and C++
|
Go to the documentation of this file.
24 #include "celix/Properties.h"
27 #include "celix_framework_factory.h"
34 auto* copy = celix_properties_copy(properties.getCProperties());
35 auto* cFw= celix_frameworkFactory_createFramework(copy);
41 celix_frameworkFactory_destroyFramework(cFw);
celix_framework_t * getCFramework() const
Get the C framework.
Definition: Framework.h:108
std::shared_ptr< celix::Framework > createFramework(const celix::Properties &properties={})
Create a new celix Framework instance.
Definition: FrameworkFactory.h:33
void celix_framework_waitForEmptyEventQueue(celix_framework_t *fw)
Wait until the framework event queue is empty.
celix_bundle_context_t * celix_framework_getFrameworkContext(const celix_framework_t *fw)
Returns the framework bundle context. This is the same as a 'normal' bundle context and can be used t...
A Celix framework instance. A framework is also known as a system bundle.
Definition: Framework.h:37
celix::Properties Properties
Definition: Properties.h:25