@PublicEvolving public interface UserCodeClassLoader
These release hooks are being executed just before the user code class loader is being released.
Modifier and Type | Method and Description |
---|---|
ClassLoader |
asClassLoader()
Obtains the actual class loader.
|
void |
registerReleaseHookIfAbsent(String releaseHookName,
Runnable releaseHook)
Registers a release hook which is being executed before the user code class loader is being
released.
|
ClassLoader asClassLoader()
void registerReleaseHookIfAbsent(String releaseHookName, Runnable releaseHook)
releaseHookName
- releaseHook
- releaseHook which is executed before the user code class loader is being
released.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.