summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2020-07-15 19:05:49 +0200
committergjoranv <gv@verizonmedia.com>2020-07-15 19:05:49 +0200
commitbc043db9094d62a15cf7d3190797569161848dfc (patch)
tree12b9d438b2543b19a4c8c8ce4ecf85d408c37f33
parent3585a616776552e3defbbf517c84dc590b4cdd5f (diff)
Rename installBundles -> installApplicationBundles
-rw-r--r--container-di/src/main/java/com/yahoo/container/di/Container.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/container-di/src/main/java/com/yahoo/container/di/Container.java b/container-di/src/main/java/com/yahoo/container/di/Container.java
index 536082840fe..d85591386fd 100644
--- a/container-di/src/main/java/com/yahoo/container/di/Container.java
+++ b/container-di/src/main/java/com/yahoo/container/di/Container.java
@@ -109,7 +109,7 @@ public class Container {
} else {
throwIfPlatformBundlesChanged(snapshot);
}
- Collection<Bundle> bundlesToRemove = installBundles(snapshot.configs());
+ Collection<Bundle> bundlesToRemove = installApplicationBundles(snapshot.configs());
obsoleteBundles.addAll(bundlesToRemove);
graph = createComponentsGraph(snapshot.configs(), getBootstrapGeneration(), fallbackInjector);
@@ -163,7 +163,7 @@ public class Container {
componentDeconstructor.deconstruct(oldComponents.keySet(), obsoleteBundles);
}
- private Set<Bundle> installBundles(Map<ConfigKey<? extends ConfigInstance>, ConfigInstance> configsIncludingBootstrapConfigs) {
+ private Set<Bundle> installApplicationBundles(Map<ConfigKey<? extends ConfigInstance>, ConfigInstance> configsIncludingBootstrapConfigs) {
ApplicationBundlesConfig applicationBundlesConfig = getConfig(applicationBundlesConfigKey, configsIncludingBootstrapConfigs);
return osgi.useApplicationBundles(applicationBundlesConfig.bundles());
}