play.classloading
Class HotswapAgent
java.lang.Object
play.classloading.HotswapAgent
public class HotswapAgent
- extends Object
Enable HotSwap when it's possible.
|
Field Summary |
static boolean |
enabled
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
enabled
public static boolean enabled
HotswapAgent
public HotswapAgent()
premain
public static void premain(String agentArgs,
Instrumentation instrumentation)
reload
public static void reload(ClassDefinition... definitions)
throws UnmodifiableClassException,
ClassNotFoundException
- Throws:
UnmodifiableClassException
ClassNotFoundException
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly