public interface LoadingStrategy extends Prioritized
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL
when spi is loaded by dubbo framework classloader only, it indicates all LoadingStrategy should load this spi
|
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| Modifier and Type | Method and Description |
|---|---|
String |
directory() |
default String[] |
excludedPackages() |
default String |
getName() |
default String[] |
includedPackages()
To restrict some class that should not be loaded from `org.apache.dubbo` package type SPI class.
|
default String[] |
includedPackagesInCompatibleType()
To restrict some class that should not be loaded from `org.alibaba.dubbo`(for compatible purpose)
package type SPI class.
|
default String[] |
onlyExtensionClassLoaderPackages()
To restrict some class that should load from Dubbo's ClassLoader.
|
default boolean |
overridden()
Indicates current
LoadingStrategy supports overriding other lower prioritized instances or not. |
default boolean |
preferExtensionClassLoader() |
compareTo, getPrioritystatic final String ALL
String directory()
default boolean preferExtensionClassLoader()
default String[] excludedPackages()
default String[] includedPackages()
default String[] includedPackagesInCompatibleType()
default String[] onlyExtensionClassLoaderPackages()
default boolean overridden()
LoadingStrategy supports overriding other lower prioritized instances or not.true, or falsedefault String getName()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.