GetBundleContext¶
-
static inline BundleContext
cppmicroservices
::
GetBundleContext
()¶ Returns the bundle context of the calling bundle.
This function allows easy access to the BundleContext instance from inside a C++ Micro Services bundle.
- Return
The BundleContext of the calling bundle. If the caller is not part of an active bundle, an invalid BundleContext is returned.