private static List<Version> activeVersionsOfBundle(ComponentSpecification bundleSpec, List<BsnVersion> activeBundles) {
            return activeBundles.stream()
                    .filter(bundle -> bundle.symbolicName().equals(bundleSpec.getName()))
                    .map(BsnVersion::version)
                    .toList();
        }
For internal use only.

@author Tony Vaagenes
@author gjoranv
container-core/src/main/java/com/yahoo/container/core/config/HandlersConfigurerDi.java