Package io.microsphere.classloading
Class ManifestArtifactResolver
- java.lang.Object
-
- io.microsphere.classloading.AbstractArtifactResolver
-
- io.microsphere.classloading.ManifestArtifactResolver
-
- All Implemented Interfaces:
ArtifactResolver
,Prioritized
,java.lang.Comparable<Prioritized>
public class ManifestArtifactResolver extends AbstractArtifactResolver
The classArtifactResolver
based on the resource "META-INF/MANIFEST.MF"- Since:
- 1.0.0
- Author:
- Mercy
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ARTIFACT_ID_ATTRIBUTE_NAMES_PROPERTY_NAME
static int
DEFAULT_PRIORITY
static java.lang.String
MANIFEST_RESOURCE_PATH
static java.lang.String
VERSION_ATTRIBUTE_NAMES_PROPERTY_NAME
-
Fields inherited from class io.microsphere.classloading.AbstractArtifactResolver
logger
-
Fields inherited from interface io.microsphere.classloading.ArtifactResolver
EMPTY_URLS
-
Fields inherited from interface io.microsphere.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description ManifestArtifactResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doResolve(java.util.Collection<Artifact> artifactSet, java.net.URLClassLoader urlClassLoader)
-
Methods inherited from class io.microsphere.classloading.AbstractArtifactResolver
getPriority, newURLClassLoader, resolve, resolveArtifactResourceURL, setPriority
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.microsphere.classloading.ArtifactResolver
resolve
-
Methods inherited from interface io.microsphere.lang.Prioritized
compareTo
-
-
-
-
Field Detail
-
MANIFEST_RESOURCE_PATH
public static final java.lang.String MANIFEST_RESOURCE_PATH
- See Also:
- Constant Field Values
-
ARTIFACT_ID_ATTRIBUTE_NAMES_PROPERTY_NAME
public static final java.lang.String ARTIFACT_ID_ATTRIBUTE_NAMES_PROPERTY_NAME
- See Also:
- Constant Field Values
-
VERSION_ATTRIBUTE_NAMES_PROPERTY_NAME
public static final java.lang.String VERSION_ATTRIBUTE_NAMES_PROPERTY_NAME
- See Also:
- Constant Field Values
-
DEFAULT_PRIORITY
public static final int DEFAULT_PRIORITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
doResolve
protected void doResolve(java.util.Collection<Artifact> artifactSet, java.net.URLClassLoader urlClassLoader)
- Specified by:
doResolve
in classAbstractArtifactResolver
-
-