
public class JavaSPIExtensionLoader extends Object implements ExtensionLoader
| Constructor and Description |
|---|
JavaSPIExtensionLoader() |
| Modifier and Type | Method and Description |
|---|---|
<T> Collection<T> |
all(ClassLoader classLoader,
Class<T> serviceClass) |
Collection<LoadableExtension> |
load() |
Map<Class<?>,Set<Class<?>>> |
loadVetoed() |
Map<Class<?>,Set<Class<?>>> |
loadVetoed(ClassLoader classLoader)
This method first finds all files that are in claspath placed at META-INF/exclusions
Each of this file has a name that represents the service type that needs to veto.
|
public Collection<LoadableExtension> load()
load in interface ExtensionLoaderpublic Map<Class<?>,Set<Class<?>>> loadVetoed()
loadVetoed in interface ExtensionLoaderpublic <T> Collection<T> all(ClassLoader classLoader, Class<T> serviceClass)
public Map<Class<?>,Set<Class<?>>> loadVetoed(ClassLoader classLoader)
Copyright © 2020 JBoss by Red Hat. All rights reserved.