public interface PluginDescriptorResolver
ArtifactPluginDescriptor described by the BundleDescriptor, wrapping the logic to extract it from
the jar.| Modifier and Type | Method and Description |
|---|---|
static PluginDescriptorResolver |
pluginDescriptorResolver() |
Optional<ArtifactPluginDescriptor> |
resolve(Set<ArtifactPluginDescriptor> artifactPluginDescriptors,
BundleDescriptor bundleDescriptor)
Holds the logic to extract an
ArtifactPluginDescriptor from the jar described by the given BundleDescriptor. |
static PluginDescriptorResolver pluginDescriptorResolver()
PluginDescriptorResolver.Optional<ArtifactPluginDescriptor> resolve(Set<ArtifactPluginDescriptor> artifactPluginDescriptors, BundleDescriptor bundleDescriptor)
ArtifactPluginDescriptor from the jar described by the given BundleDescriptor.
The function must return Optional.empty() if the plugin represented by the BundleDescriptor is not a
dependency of the artifact for ownerArtifactClassLoader.artifactPluginDescriptors - plugin descriptors from which to retrieve the one matching the given
bundleDescriptor.bundleDescriptor - the bundle descriptor of the plugin to get the artifact descriptor for.ArtifactPluginDescriptor corresponding to the given BundleDescriptor.Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.