Skip to content

Commit

Permalink
Load extensions for classpath plugins
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Dec 14, 2024
1 parent 9b3f406 commit 44a4042
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public PluginsService(
"1.8",
pluginClass.getName(),
null,
Collections.emptyList(),
classpathPlugins.stream().map(Class::getName).filter(cp -> !pluginClass.getName().equals(cp)).collect(Collectors.toList()),
false
);
if (logger.isTraceEnabled()) {
Expand All @@ -159,6 +159,7 @@ public PluginsService(
pluginsLoaded.add(new Tuple<>(pluginInfo, plugin));
pluginsList.add(pluginInfo);
pluginsNames.add(pluginInfo.getName());
loadExtensions(pluginsLoaded);
}

Set<Bundle> seenBundles = new LinkedHashSet<>();
Expand Down

0 comments on commit 44a4042

Please sign in to comment.