Apache Celix
2.3.0
An implementation of the OSGi specification adapted to C and C++
|
Go to the documentation of this file.
25 #include "bundle_activator.h"
27 namespace celix {
namespace dm {
42 celix_bundle_context_t*
context()
const {
return this->
ctx; }
70 celix_bundle_context_t *
ctx;
73 celix_status_t status = CELIX_SUCCESS;
80 celix_status_t status = CELIX_SUCCESS;
86 friend int ::bundleActivator_create(::celix_bundle_context_t*,
void**);
87 friend int ::bundleActivator_start(
void*, ::celix_bundle_context_t*);
88 friend int ::bundleActivator_stop(
void*, ::celix_bundle_context_t*);
89 friend int ::bundleActivator_destroy(
void*, ::celix_bundle_context_t*);
DependencyManager & mng
Definition: DmActivator.h:69
celix_bundle_context_t * bundleContext() const
Definition: DependencyManager.h:60
Definition: DependencyManager.h:48
virtual void deinit()
Definition: DmActivator.h:56
DmActivator(DependencyManager &m)
Definition: DmActivator.h:34
DmActivator & operator=(const DmActivator &)=delete
void build()
Definition: DependencyManager_Impl.h:71
celix_bundle_context_t * context() const
Definition: DmActivator.h:42
celix_bundle_context_t * ctx
Definition: DmActivator.h:70
static DmActivator * create(DependencyManager &mng)
Definition: DmActivator.h:32
void clear()
Clears the dependency manager, which removes all configured components and waits until all components...
Definition: DependencyManager_Impl.h:109
DependencyManager & manager() const
Definition: DmActivator.h:40
virtual ~DmActivator()=default
virtual void init()
Definition: DmActivator.h:49