类 NoOpURLClassPathHandle
- java.lang.Object
-
- io.microsphere.classloading.NoOpURLClassPathHandle
-
- 所有已实现的接口:
URLClassPathHandle,Prioritized,java.lang.Comparable<Prioritized>
public class NoOpURLClassPathHandle extends java.lang.Object implements URLClassPathHandle, Prioritized
No-OperationURLClassPathHandle- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
- 另请参阅:
URLClassPathHandle
-
-
字段概要
-
从接口继承的字段 io.microsphere.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
构造器概要
构造器 构造器 说明 NoOpURLClassPathHandle()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetPriority()Get the priorityjava.net.URL[]getURLs(java.lang.ClassLoader classLoader)Get the Class-Path URLs from the specifiedClassLoaderbooleanremoveURL(java.lang.ClassLoader classLoader, java.net.URL url)Remove the Class-PathURLfrom the specifiedClassLoaderbooleansupports()Supports or not-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 io.microsphere.lang.Prioritized
compareTo
-
-
-
-
方法详细资料
-
supports
public boolean supports()
从接口复制的说明:URLClassPathHandleSupports or not- 指定者:
supports在接口中URLClassPathHandle- 返回:
- if supports, return
true, otherwisefalse
-
getURLs
public java.net.URL[] getURLs(java.lang.ClassLoader classLoader)
从接口复制的说明:URLClassPathHandleGet the Class-Path URLs from the specifiedClassLoader- 指定者:
getURLs在接口中URLClassPathHandle- 参数:
classLoader- the specifiedClassLoader- 返回:
- the non-null array of
URLs
-
removeURL
public boolean removeURL(java.lang.ClassLoader classLoader, java.net.URL url)从接口复制的说明:URLClassPathHandleRemove the Class-PathURLfrom the specifiedClassLoader- 指定者:
removeURL在接口中URLClassPathHandle- 参数:
classLoader- the specifiedClassLoaderurl- the Class-PathURL- 返回:
- if removed, return
true, otherwisefalse
-
getPriority
public int getPriority()
从接口复制的说明:PrioritizedGet the priority- 指定者:
getPriority在接口中Prioritized- 返回:
- the default is
minimum one
-
-