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.
20 #ifndef CELIX_BUNDLE_H_
21 #define CELIX_BUNDLE_H_
23 #include "celix_types.h"
24 #include "celix_bundle_state.h"
25 #include "celix_properties.h"
26 #include "celix_array_list.h"
27 #include "celix_version.h"
28 #include "celix_framework_export.h"
Definition: celix_bundle.h:169
const CELIX_FRAMEWORK_EXPORT char * celix_bundle_getName(const celix_bundle_t *bnd)
Return the name of the bundle. Note the return value is valid as long as the bundle is installed.
CELIX_FRAMEWORK_EXPORT void celix_bundle_destroyServiceTrackerList(celix_array_list_t *list)
celix_properties_t * serviceProperties
Definition: celix_bundle.h:147
struct celix_bundle_service_list_entry celix_bundle_service_list_entry_t
char * serviceName
Definition: celix_bundle.h:171
long serviceId
Definition: celix_bundle.h:144
CELIX_FRAMEWORK_EXPORT char * celix_bundle_getEntry(const celix_bundle_t *bnd, const char *path)
Definition: celix_bundle.h:143
const CELIX_FRAMEWORK_EXPORT char * celix_bundle_getSymbolicName(const celix_bundle_t *bnd)
Return the symbolic name of the bundle. Note the return value is valid as long as the bundle is insta...
struct celix_bundle_service_tracker_list_entry celix_bundle_service_tracker_list_entry_t
CELIX_FRAMEWORK_EXPORT void celix_bundle_destroyRegisteredServicesList(celix_array_list_t *list)
const CELIX_FRAMEWORK_EXPORT celix_version_t * celix_bundle_getVersion(const celix_bundle_t *bnd)
Return the bundle version. Note the return value is valid as long as the bundle is installed.
long bundleOwner
Definition: celix_bundle.h:145
CELIX_FRAMEWORK_EXPORT char * celix_bundle_getDataFile(const celix_bundle_t *bnd, const char *path)
char * serviceName
Definition: celix_bundle.h:146
char * filter
Definition: celix_bundle.h:170
CELIX_FRAMEWORK_EXPORT bool celix_bundle_isSystemBundle(const celix_bundle_t *bnd)
Return whether the bundle is the system bundle.
CELIX_FRAMEWORK_EXPORT long celix_bundle_getId(const celix_bundle_t *bnd)
Return the bundle id.
CELIX_FRAMEWORK_EXPORT char * celix_bundle_getLocation(const celix_bundle_t *bnd)
Return the update location of the bundle. The location the location passed to celix_bundleContext_ins...
CELIX_FRAMEWORK_EXPORT celix_array_list_t * celix_bundle_listRegisteredServices(const celix_bundle_t *bnd)
CELIX_FRAMEWORK_EXPORT celix_array_list_t * celix_bundle_listServiceTrackers(const celix_bundle_t *bnd)
const CELIX_FRAMEWORK_EXPORT char * celix_bundle_getManifestValue(const celix_bundle_t *bnd, const char *attribute)
Get a manifest attribute value from the bundle manifest.
const CELIX_FRAMEWORK_EXPORT char * celix_bundle_getDescription(const celix_bundle_t *bnd)
Return the description of the bundle. Note the return value is valid as long as the bundle is install...
size_t nrOfTrackedServices
Definition: celix_bundle.h:173
long bundleOwner
Definition: celix_bundle.h:172
const CELIX_FRAMEWORK_EXPORT char * celix_bundle_getGroup(const celix_bundle_t *bnd)
Return the group of the bundle. Groups are used to order bundles. Note the return value is valid as l...
CELIX_FRAMEWORK_EXPORT celix_bundle_state_e celix_bundle_getState(const celix_bundle_t *bnd)
Return the bundle state.
bool factory
Definition: celix_bundle.h:148