ArtifactUrlClassification based on the Maven dependencies declared by the rootArtifact using Eclipse
Aether.ArtifactClassLoaderRunner would need to get access to the Mule application
class loader in order to load classes from it.ArtifactClassificationType for an Artifact.ClassLoaders for application, plugins and container.Runner that mimics the class loading model used in a Mule Standalone distribution.klassArtifactClassLoaderRunner in order to run the tests in the module.URLs classified in container, plugins and application.Artifact.ArtifactClassLoaderHolder with the
ArtifactClassLoaders for application, plugins and container.URLs and Dependencys to define how the container, plugins and application class loaders should be
created.ClassPathClassifier builds the ArtifactsUrlClassification that would be used for creating the
ClassLoader to run the test.MuleModule searching for ClasspathModuleDiscoverer.MODULE_PROPERTIES and ClasspathTestModuleDiscoverer.TEST_MODULE_PROPERTIES files resources available in a given classloader.URLs.URLs.URLs to be appended in addition to the classpath ones.ArtifactClassLoaderRunner would need to get access to the container
class loaders in order to load classes from it.ArtifactClassLoader for the application.ArtifactClassLoaderHolder containing the container, plugins and application ArtifactClassLoadersArtifactClassLoader that will have a CHILD_FIRST
ClassLoaderLookupPolicy, it is needed due to as difference from a mule standalone container where the parent
ClassLoader for the container only has bootstrap jars plugins mule modules and third-party libraries when the runner
runs this tests using has a full class path with all the artifacts declared as dependencies for the artifact so we have to
change that and change the look strategy to be CHILD_FIRST for the container.ArtifactClassLoader for the container.ClassLoader set to this factory in order to discover modules.ClassLoaderLookupPolicy for plugins considering their dependencies.Model by reading the pom.xml file.ArtifactClassLoader wit the name defined in
classification.WorkspaceReader that resolves artifacts using the IDE workspace or Maven multi-module reactor.Dependencys resolutions for Maven Artifact based on RepositorySystem and
RepositorySystemSession from Eclipse Aether.ArtifactClassLoaders to check if they have an extension descriptor and if they do it
will parse it and register the extension into the ExtensionManager
It has to use reflection to access these classes due to the current execution of this method would be with the application
ArtifactClassLoader and the list of plugin ArtifactClassLoader was instantiated with the Launcher
ClassLoader so casting won't work here.ClassLoaderFilter if it is not exported it will check againts the list of exported
classes.ExtensionManager.ExtensionsTestInfrastructureDiscoverer that will use the extensionManager passed here in order to register
the extensions, resources for the extensions will be created in the generatedResourcesDirectory.URL for a workspace Artifact.ArtifactClassLoaderRunnerConfig.Annotation in the Class and invokes the Method in the whole hierarhcy until it reaches
Object.Artifact.Artifact.RunnerModuleUtils.EXCLUDED_PROPERTIES_FILE resources files, merges the entries so only one
Properties is returned with all values.ClassLoader due to they are going to be in container
ClassLoader.ClassLoader.ConfigurationBuilder that creates an
ExtensionManager.ArtifactClassLoader already created.Class using the test runner ArtifactClassLoader.RepositoryListener that logs events from repository system.Model.PatternExclusionsDependencyFilter that adds support for
classifier attribute.PatternInclusionsDependencyFilter that adds support for
classifier attribute.ArtifactClassLoaderRunner it would need to get access to the plugin
class loaders in order to load classes using those class loaders.ClassLoaderLookupPolicy.PluginUrlClassification resources, exported packages and resources.ArtifactClassLoaderRunnerConfig.ArtifactClassificationType for the artifact.File to file system for the given Artifact.File to file system for the given Artifact.PluginUrlClassification the resources exported.ArtifactUrlClassification the resources exported.ArtifactClassLoaderRunner.Runner that ArtifactClassLoaderRunner delegates to.ArtifactClassLoaderRunner it would need to get access to the service
class loaders in order to load classes using those class loaders.ArtifactUrlClassification resources, exported packages and resources for services.Set of Maven coordinates in format <groupId>:<artifactId> or <groupId>:<artifactId>:<classifier>
in order to be added to the application ArtifactClassLoaderSet of Maven coordinates in format <groupId>:<artifactId> or <groupId>:<artifactId>:<classifier>
in order to be added to the sharedLib ArtifactClassLoaderClassPathClassifier implementation to be used by the builder.ClassPathUrlProvider implementation to be used by the builder.true if while building the a plugin ArtifactClassLoader
for an Extension the metadata should be generated.File where resources for classification will be created.provided scope direct dependencies of the rootArtifact.File rootArtifactClassesFolder to be used by the classification process.Set of exclusion Maven coordinates to be excluded from test dependencies of rootArtifact.Set of inclusion Maven coordinates to be included from test dependencies of rootArtifact.Set of Maven coordinates in format <groupId>:<artifactId> or <groupId>:<artifactId>:<classifier>
in order to be exported on the test runner's ArtifactClassLoader in addition to test classes and resources from the
module being testedClassLoaderFilter that decorates a ClassLoaderFilter to allow exporting classes by name that
are not exported by the original ClassLoaderFilter.ClassLoaderFilter to exporte classes that are not exported as packages in the original filter.ContainerClassLoaderFactory for testing in order to add boot packages and build a
ClassLoader for the container that do resolves classes instead of delegating to its parent and also allows to create
the container ClassLoaderLookupPolicy based on a ClassLoader.ArtifactClassLoader in order to support the
differences when running applications in standalone container vs junit.ModuleDiscoverer that enables to change discovered modules to enable testing privileged API scenarios.RegionClassLoader specialization that provides a simpler api to add classloaders to the region.Artifacts from a IDE workspace, a Maven build session or a similar ad-hoc collection of
artifacts.Copyright © 2003–2019 MuleSoft, Inc.. All rights reserved.