| Package | Description |
|---|---|
| org.apache.nifi.nar |
| Modifier and Type | Method and Description |
|---|---|
static NarCloseable |
NarCloseable.withComponentNarLoader(ClassLoader componentNarLoader)
Sets the current thread context class loader to the provided class loader, and returns a NarCloseable that will
return the current thread context class loader to it's previous state.
|
static NarCloseable |
NarCloseable.withComponentNarLoader(ExtensionManager extensionManager,
Class componentClass,
String componentIdentifier)
Sets the current thread context class loader to the specific appropriate class loader for the given
component.
|
static NarCloseable |
NarCloseable.withFrameworkNar()
Creates a Closeable object that can be used to to switch to current class
loader to the framework class loader and will automatically set the
ClassLoader back to the previous class loader when closed
|
static NarCloseable |
NarCloseable.withNarLoader() |
Copyright © 2023 Apache NiFi Project. All rights reserved.