Apache Celix
2.3.0
An implementation of the OSGi specification adapted to C and C++
|
Go to the documentation of this file.
20 #include "celix_types.h"
21 #include "bundle_state.h"
22 #include "celix_properties.h"
23 #include "celix_array_list.h"
25 #ifndef CELIX_BUNDLE_H_
26 #define CELIX_BUNDLE_H_
const char * celix_bundle_getDescription(const celix_bundle_t *bnd)
Returns the description of the bundle. Note the return value is valid as long as the bundle is instal...
Definition: celix_bundle.h:125
celix_properties_t * serviceProperties
Definition: celix_bundle.h:103
struct celix_bundle_service_list_entry celix_bundle_service_list_entry_t
char * serviceName
Definition: celix_bundle.h:127
long serviceId
Definition: celix_bundle.h:100
celix_array_list_t * celix_bundle_listRegisteredServices(const celix_bundle_t *bnd)
void celix_bundle_destroyServiceTrackerList(celix_array_list_t *list)
Definition: celix_bundle.h:99
struct celix_bundle_service_tracker_list_entry celix_bundle_service_tracker_list_entry_t
long bundleOwner
Definition: celix_bundle.h:101
char * celix_bundle_getEntry(const celix_bundle_t *bnd, const char *path)
char * serviceName
Definition: celix_bundle.h:102
celix_bundle_state_e celix_bundle_getState(const celix_bundle_t *bnd)
Returns the bundle state.
char * filter
Definition: celix_bundle.h:126
bool celix_bundle_isSystemBundle(const celix_bundle_t *bnd)
Returns whether the bundle is the system bundle.
const char * celix_bundle_getSymbolicName(const celix_bundle_t *bnd)
Returns the symbolic name of the bundle. Note the return value is valid as long as the bundle is inst...
void celix_bundle_destroyRegisteredServicesList(celix_array_list_t *list)
const char * celix_bundle_getGroup(const celix_bundle_t *bnd)
Returns the group of the bundle. Groups are used to order bundles. Note the return value is valid as ...
long celix_bundle_getId(const celix_bundle_t *bnd)
Returns the bundle id.
const char * celix_bundle_getName(const celix_bundle_t *bnd)
Returns the name of the bundle. Note the return value is valid as long as the bundle is installed.
size_t nrOfTrackedServices
Definition: celix_bundle.h:129
long bundleOwner
Definition: celix_bundle.h:128
celix_array_list_t * celix_bundle_listServiceTrackers(const celix_bundle_t *bnd)
const char * celix_bundle_getManifestValue(const celix_bundle_t *bnd, const char *attribute)
Get a manifest attribute value from the bundle manifest.
bool factory
Definition: celix_bundle.h:104