类 AbstractArtifactResolver
- java.lang.Object
-
- io.microsphere.classloading.AbstractArtifactResolver
-
- 所有已实现的接口:
ArtifactResolver
,Prioritized
,java.lang.Comparable<Prioritized>
public abstract class AbstractArtifactResolver extends java.lang.Object implements ArtifactResolver
AbstractArtifactResolver
- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
-
-
字段概要
字段 修饰符和类型 字段 说明 protected Logger
logger
-
从接口继承的字段 io.microsphere.classloading.ArtifactResolver
EMPTY_URLS
-
从接口继承的字段 io.microsphere.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
构造器概要
构造器 构造器 说明 AbstractArtifactResolver()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 protected abstract void
doResolve(java.util.Collection<Artifact> artifactSet, java.net.URLClassLoader urlClassLoader)
int
getPriority()
Get the priorityprotected java.net.URLClassLoader
newURLClassLoader(java.net.URL[] urls)
java.util.Set<Artifact>
resolve(java.net.URL... classPathURLs)
Resolve theartifacts
protected java.net.URL
resolveArtifactResourceURL(java.net.URL resourceURL)
void
setPriority(int priority)
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 io.microsphere.classloading.ArtifactResolver
resolve
-
从接口继承的方法 io.microsphere.lang.Prioritized
compareTo
-
-
-
-
字段详细资料
-
logger
protected final Logger logger
-
-
方法详细资料
-
resolve
public final java.util.Set<Artifact> resolve(java.net.URL... classPathURLs)
从接口复制的说明:ArtifactResolver
Resolve theartifacts
- 指定者:
resolve
在接口中ArtifactResolver
- 参数:
classPathURLs
- The URLs of Class-Paths- 返回:
- the non-null read-only
Set
-
setPriority
public void setPriority(int priority)
-
getPriority
public int getPriority()
从接口复制的说明:Prioritized
Get the priority- 指定者:
getPriority
在接口中Prioritized
- 返回:
- the default is
minimum one
-
doResolve
protected abstract void doResolve(java.util.Collection<Artifact> artifactSet, java.net.URLClassLoader urlClassLoader)
-
newURLClassLoader
protected java.net.URLClassLoader newURLClassLoader(java.net.URL[] urls)
-
resolveArtifactResourceURL
protected java.net.URL resolveArtifactResourceURL(java.net.URL resourceURL)
-
-