@ProviderType public final class ThreadContextClassLoaderTaskExecutor extends Object
| Modifier and Type | Method and Description |
|---|---|
static <V> V |
doWithTccl(ClassLoader classLoader,
Callable<V> task)
Execute the task while the Thread Context Class Loader is set to the provided
Class Loader.
|
public static <V> V doWithTccl(ClassLoader classLoader, Callable<V> task) throws Exception
V - the return type of the taskclassLoader - the requested class loadertask - the taskException - the exception throw, if any, by the taskCopyright © 2013–2020 Adobe. All rights reserved.