public class DefaultDomainClassLoaderBuilder extends Object implements DomainClassLoaderBuilder
ArtifactClassLoader builder for class loaders required by Domain artifacts| Constructor and Description |
|---|
DefaultDomainClassLoaderBuilder(ArtifactClassLoaderResolver artifactClassLoaderResolver)
Creates a new builder for creating
Domain artifacts. |
| Modifier and Type | Method and Description |
|---|---|
MuleDeployableArtifactClassLoader |
build()
Creates a new
ArtifactClassLoader using the provided configuration. |
DomainClassLoaderBuilder |
setArtifactDescriptor(ArtifactDescriptor artifactDescriptor) |
public DefaultDomainClassLoaderBuilder(ArtifactClassLoaderResolver artifactClassLoaderResolver)
Domain artifacts.artifactClassLoaderResolver - resolver that will be used to create the class loader. Non-nullpublic DomainClassLoaderBuilder setArtifactDescriptor(ArtifactDescriptor artifactDescriptor)
setArtifactDescriptor in interface DomainClassLoaderBuilderartifactDescriptor - the descriptor of the artifact for which the class loader is going to be created.public MuleDeployableArtifactClassLoader build()
ArtifactClassLoader using the provided configuration. It will create the proper class loader hierarchy
and filters so domain classes, resources and plugins are resolve correctly.build in interface DomainClassLoaderBuilderMuleDeployableArtifactClassLoader created from the provided configuration.Copyright © 2003–2023 MuleSoft, Inc.. All rights reserved.