Package play.classloading
Class HotswapAgent
- java.lang.Object
-
- play.classloading.HotswapAgent
-
public class HotswapAgent extends java.lang.ObjectEnable HotSwap when it's possible.
-
-
Field Summary
Fields Modifier and Type Field Description static booleanenabled
-
Constructor Summary
Constructors Constructor Description HotswapAgent()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidpremain(java.lang.String agentArgs, java.lang.instrument.Instrumentation instrumentation)static voidreload(java.lang.instrument.ClassDefinition... definitions)
-
-
-
Method Detail
-
premain
public static void premain(java.lang.String agentArgs, java.lang.instrument.Instrumentation instrumentation)
-
reload
public static void reload(java.lang.instrument.ClassDefinition... definitions) throws java.lang.instrument.UnmodifiableClassException, java.lang.ClassNotFoundException- Throws:
java.lang.instrument.UnmodifiableClassExceptionjava.lang.ClassNotFoundException
-
-