Class ClassLoaderHelperTestBackdoor
- java.lang.Object
-
- software.amazon.awssdk.utils.internal.ClassLoaderHelperTestBackdoor
-
public class ClassLoaderHelperTestBackdoor extends Object
This is a backdoor to add overrides to the results of queryingClassLoaderHelper
s. This is used for testing resource overrides within the SDK.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addClassLoaderOverride(Class<?> key, ClassLoader value)
static void
clearClassLoaderOverrides()
static ClassLoader
getClassLoader(Class<?> clazz)
-
-
-
Method Detail
-
addClassLoaderOverride
public static void addClassLoaderOverride(Class<?> key, ClassLoader value)
-
clearClassLoaderOverrides
public static void clearClassLoaderOverrides()
-
getClassLoader
public static ClassLoader getClassLoader(Class<?> clazz)
-
-