@NoExtend public class ClassLoaderConfiguration extends Object
ClassLoader for a Mule artifact.| Modifier and Type | Class and Description |
|---|---|
static class |
ClassLoaderConfiguration.ClassLoaderConfigurationBuilder
Builds a
ClassLoaderConfiguration |
| Modifier and Type | Field and Description |
|---|---|
static ClassLoaderConfiguration |
NULL_CLASSLOADER_CONFIGURATION
Defines a
ClassLoaderConfiguration with empty configuration |
| Modifier | Constructor and Description |
|---|---|
protected |
ClassLoaderConfiguration(URL[] urls,
Set<String> exportedPackages,
Set<String> exportedResources,
Set<String> localPackages,
Set<String> localResources,
Set<BundleDependency> dependencies,
Set<String> privilegedExportedPackages,
Set<String> privilegedArtifacts,
boolean includeTestDependencies) |
| Modifier and Type | Method and Description |
|---|---|
Set<BundleDependency> |
getDependencies() |
Set<String> |
getExportedPackages() |
Set<String> |
getExportedResources() |
Set<String> |
getLocalPackages() |
Set<String> |
getLocalResources() |
Set<String> |
getPrivilegedArtifacts() |
Set<String> |
getPrivilegedExportedPackages() |
URL[] |
getUrls() |
boolean |
isIncludeTestDependencies() |
public static final ClassLoaderConfiguration NULL_CLASSLOADER_CONFIGURATION
ClassLoaderConfiguration with empty configurationprotected ClassLoaderConfiguration(URL[] urls, Set<String> exportedPackages, Set<String> exportedResources, Set<String> localPackages, Set<String> localResources, Set<BundleDependency> dependencies, Set<String> privilegedExportedPackages, Set<String> privilegedArtifacts, boolean includeTestDependencies)
public URL[] getUrls()
ClassLoader. Non-null.public Set<String> getExportedPackages()
ClassLoader. Non-null.public Set<String> getExportedResources()
ClassLoader. Non-null.public Set<String> getLocalPackages()
public Set<String> getLocalResources()
public Set<BundleDependency> getDependencies()
ClassLoader. Non-null.public Set<String> getPrivilegedExportedPackages()
ClassLoader. Non-null.public Set<String> getPrivilegedArtifacts()
ClassLoader. Each artifact is defined
using Maven's groupId:artifactId. Non-null.public boolean isIncludeTestDependencies()
true if the configuration should include test scope dependencies when resolving the class loader
urls for the artifact.Copyright © 2003–2023 MuleSoft, Inc.. All rights reserved.