Apache Celix
2.4.0
Apache Celix is a framework for C, C++14 and C++17 to develop dynamic modular software applications using component and in-process service-oriented programming.
|
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:59
Definition: DependencyManager.h:47
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