final int startOrder = bundle.getStartOrder(); List<Artifact> list = startOrderMap.get(startOrder); if ( list == null ) {
@Override public ContainerDescriptor scan(Feature feature, Extension extension, ArtifactProvider provider) throws IOException { FeatureDescriptor featureDescriptor = new FeatureDescriptorImpl(feature); for (Artifact artifact : feature.getBundles()) { File file = provider.provide(artifact.getId()); BundleDescriptor bundleDescriptor = new BundleDescriptorImpl(artifact, file, artifact.getStartOrder()); featureDescriptor.getBundleDescriptors().add(bundleDescriptor); } return featureDescriptor; }