public interface PluginDescriptorResolver
ArtifactPluginDescriptor described by the BundleDescriptor, wrapping the logic to extract it from
the jar.| Modifier and Type | Method and Description |
|---|---|
Optional<ArtifactPluginDescriptor> |
resolve(BundleDescriptor bundleDescriptor)
Holds the logic to extract an
ArtifactPluginDescriptor from the jar described by the given BundleDescriptor. |
Optional<ArtifactPluginDescriptor> resolve(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.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.