public class HotSwapper extends Object
| Constructor and Description |
|---|
HotSwapper() |
| Modifier and Type | Method and Description |
|---|---|
static Class |
newClass(String className,
String directory,
ClassLoader cl) |
static void |
swapClasses(Class original,
String swap)
Swap class definition from another class file.
|
public static void swapClasses(Class original, String swap) throws Exception
original - original class currently in useswap - fully qualified class name of class to swapException - swap exceptionpublic static Class newClass(String className, String directory, ClassLoader cl)
Copyright © 2018. All rights reserved.