public final class ExtensionLoader extends Object
| Modifier and Type | Method and Description |
|---|---|
static Consumer<BuildChainBuilder> |
loadStepsFrom(Class<?> clazz,
BuildTimeConfigurationReader.ReadResult readResult,
Map<Class<?>,Object> runTimeProxies,
LaunchMode launchMode)
Load all the build steps from the given class.
|
static Consumer<BuildChainBuilder> |
loadStepsFrom(ClassLoader classLoader)
Load all the build steps from the given class loader.
|
static Consumer<BuildChainBuilder> |
loadStepsFrom(ClassLoader classLoader,
LaunchMode launchMode,
Consumer<org.eclipse.microprofile.config.spi.ConfigBuilder> configCustomizer)
Load all the build steps from the given class loader.
|
static Consumer<BuildChainBuilder> |
loadStepsFrom(ClassLoader classLoader,
Properties buildSystemProps)
Load all the build steps from the given class loader.
|
static Consumer<BuildChainBuilder> |
loadStepsFrom(ClassLoader classLoader,
Properties buildSystemProps,
LaunchMode launchMode,
Consumer<org.eclipse.microprofile.config.spi.ConfigBuilder> configCustomizer)
Load all the build steps from the given class loader.
|
public static Consumer<BuildChainBuilder> loadStepsFrom(ClassLoader classLoader) throws IOException, ClassNotFoundException
classLoader - the class loaderIOException - if the class loader could not load a resourceClassNotFoundException - if a build step class is not foundpublic static Consumer<BuildChainBuilder> loadStepsFrom(ClassLoader classLoader, LaunchMode launchMode, Consumer<org.eclipse.microprofile.config.spi.ConfigBuilder> configCustomizer) throws IOException, ClassNotFoundException
classLoader - the class loaderlaunchMode - the launch modeIOException - if the class loader could not load a resourceClassNotFoundException - if a build step class is not foundpublic static Consumer<BuildChainBuilder> loadStepsFrom(ClassLoader classLoader, Properties buildSystemProps) throws IOException, ClassNotFoundException
classLoader - the class loaderbuildSystemProps - the build system properties to useIOException - if the class loader could not load a resourceClassNotFoundException - if a build step class is not foundpublic static Consumer<BuildChainBuilder> loadStepsFrom(ClassLoader classLoader, Properties buildSystemProps, LaunchMode launchMode, Consumer<org.eclipse.microprofile.config.spi.ConfigBuilder> configCustomizer) throws IOException, ClassNotFoundException
classLoader - the class loaderbuildSystemProps - the build system properties to useIOException - if the class loader could not load a resourceClassNotFoundException - if a build step class is not foundpublic static Consumer<BuildChainBuilder> loadStepsFrom(Class<?> clazz, BuildTimeConfigurationReader.ReadResult readResult, Map<Class<?>,Object> runTimeProxies, LaunchMode launchMode)
clazz - the class to load from (must not be null)readResult - the build time configuration read result (must not be null)runTimeProxies - the map of run time proxy objects to populate for recorders (must not be null)launchMode - the launch modeCopyright © 2020 JBoss by Red Hat. All rights reserved.