Class DubboLoadingStrategy
java.lang.Object
org.apache.dubbo.common.extension.DubboLoadingStrategy
- All Implemented Interfaces:
Comparable<Prioritized>,LoadingStrategy,Prioritized
Dubbo
LoadingStrategy- Since:
- 2.7.7
-
Field Summary
Fields inherited from interface org.apache.dubbo.common.extension.LoadingStrategy
ALLFields inherited from interface org.apache.dubbo.common.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()intGet the prioritybooleanIndicates currentLoadingStrategysupports overriding other lower prioritized instances or not.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.common.extension.LoadingStrategy
excludedPackages, includedPackages, includedPackagesInCompatibleType, onlyExtensionClassLoaderPackages, preferExtensionClassLoaderMethods inherited from interface org.apache.dubbo.common.lang.Prioritized
compareTo
-
Constructor Details
-
DubboLoadingStrategy
public DubboLoadingStrategy()
-
-
Method Details
-
directory
- Specified by:
directoryin interfaceLoadingStrategy
-
overridden
public boolean overridden()Description copied from interface:LoadingStrategyIndicates currentLoadingStrategysupports overriding other lower prioritized instances or not.- Specified by:
overriddenin interfaceLoadingStrategy- Returns:
- if supports, return
true, orfalse
-
getPriority
public int getPriority()Description copied from interface:PrioritizedGet the priority- Specified by:
getPriorityin interfacePrioritized- Returns:
- the default is
Prioritized.NORMAL_PRIORITY
-
getName
- Specified by:
getNamein interfaceLoadingStrategy
-