@Typed public abstract class ClassDeactivationUtils extends Object
ClassDeactivator
Modifier and Type | Method and Description |
---|---|
static void |
clearCache()
Flush the caches to prevent ClassLoader leaks.
|
static boolean |
isActivated(Class<? extends Deactivatable> targetClass)
Evaluates if the given
Deactivatable is active. |
public static void clearCache()
public static boolean isActivated(Class<? extends Deactivatable> targetClass)
Deactivatable
is active.targetClass
- Deactivatable
under test.true
if it is active, false
otherwiseCopyright © 2021 The Apache Software Foundation. All rights reserved.