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

Method InstallBundles

framework/src/bundle/BundleContext.cpp:464–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462 }
463
464 std::vector<Bundle>
465 BundleContext::InstallBundles(std::string const& location, cppmicroservices::AnyMap const& bundleManifest)
466 {
467 if (!d)
468 {
469 throw cppmicroservices::IllegalStateException("The bundle context is no longer valid");
470 }
471
472 d->CheckValid();
473 auto b = GetAndCheckBundlePrivate(d);
474
475 return b->coreCtx->bundleRegistry.Install(location, b.get(), bundleManifest);
476 }
477
478} // namespace cppmicroservices

Callers 15

TEST_FFunction · 0.80
frame040cFunction · 0.80
TEST_FFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TEST_FFunction · 0.80
InstallLibFunction · 0.80
UpdatedMethod · 0.80
TestUtils.cppFile · 0.80
InstallAndStartBundleFunction · 0.80
InstallAndStartDSFunction · 0.80

Calls 4

GetAndCheckBundlePrivateFunction · 0.85
CheckValidMethod · 0.80
InstallMethod · 0.80
getMethod · 0.80

Tested by 15

TEST_FFunction · 0.64
frame040cFunction · 0.64
TEST_FFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TEST_FFunction · 0.64
InstallLibFunction · 0.64
InstallAndStartBundleFunction · 0.64
InstallAndStartDSFunction · 0.64