public interface PluginClassLoaderResolver
| Modifier and Type | Method and Description |
|---|---|
Optional<Supplier<ArtifactClassLoader>> |
resolve(ArtifactClassLoader ownerArtifactClassLoader,
ArtifactPluginDescriptor artifactPluginDescriptor)
Optionally generates a
Supplier for a plugin class loader given the plugin's descriptor and owner artifact's class loader. |
Optional<Supplier<ArtifactClassLoader>> resolve(ArtifactClassLoader ownerArtifactClassLoader, ArtifactPluginDescriptor artifactPluginDescriptor)
Supplier for a plugin class loader given the plugin's descriptor and owner artifact's class loader.ownerArtifactClassLoader - the classLoader for the artifact that has the plugin dependency for the target classLoader.artifactPluginDescriptor - the descriptor of the plugin to generate a classLoader for.Supplier for a plugin class loader within the given application or domain.Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.