MCPcopy Create free account
hub / github.com/CppMicroServices/CppMicroServices / GetProperties

Method GetProperties

framework/src/bundle/BundleContext.cpp:109–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 }
108
109 AnyMap
110 BundleContext::GetProperties() const
111 {
112 if (!d)
113 {
114 throw cppmicroservices::IllegalStateException("The bundle context is no longer valid");
115 }
116
117 d->CheckValid();
118 auto b = GetAndCheckBundlePrivate(d);
119
120 return b->coreCtx->frameworkProperties;
121 }
122
123 Bundle
124 BundleContext::GetBundle() const

Callers

nothing calls this directly

Calls 2

GetAndCheckBundlePrivateFunction · 0.85
CheckValidMethod · 0.80

Tested by

no test coverage detected