public class AetherClassPathClassifier extends Object implements ClassPathClassifier
ArtifactUrlClassification based on the Maven dependencies declared by the rootArtifact using Eclipse
Aether. Uses a DependencyResolver to resolve Maven dependencies.
The classification process classifies the rootArtifact dependencies in three groups: provided, compile and
test scopes. It resolves dependencies graph for each group applying filters and exclusions and classifies the list of
URLs that would define each class loader container, plugins and application.
Dependencies resolution uses dependencies management declared by these artifacts while resolving the dependency graph.
Plugins are discovered as Extension if they do have a annotated a Class. It generates the Extension
metadata in order to later register it to an ExtensionManager.| Constructor and Description |
|---|
AetherClassPathClassifier(DependencyResolver dependencyResolver,
ArtifactClassificationTypeResolver artifactClassificationTypeResolver)
Creates an instance of the classifier.
|
| Modifier and Type | Method and Description |
|---|---|
ArtifactsUrlClassification |
classify(ClassPathClassifierContext context)
Classifies
URLs and Dependencys to define how the container, plugins and application class loaders should be
created. |
public AetherClassPathClassifier(DependencyResolver dependencyResolver, ArtifactClassificationTypeResolver artifactClassificationTypeResolver)
dependencyResolver - DependencyResolver to resolve dependencies. Non null.artifactClassificationTypeResolver - ArtifactClassificationTypeResolver to identify rootArtifact type. Non null.public ArtifactsUrlClassification classify(ClassPathClassifierContext context)
URLs and Dependencys to define how the container, plugins and application class loaders should be
created.classify in interface ClassPathClassifiercontext - ClassPathClassifierContext to be used during the classification. Non null.ArtifactsUrlClassification as result with the classificationCopyright © 2003–2018 MuleSoft, Inc.. All rights reserved.