play.classloading
类 HotswapAgent
java.lang.Object
play.classloading.HotswapAgent
public class HotswapAgent
- extends java.lang.Object
Enable HotSwap when it's possible.
方法摘要 |
static void |
premain(java.lang.String agentArgs,
java.lang.instrument.Instrumentation instrumentation)
|
static void |
reload(java.lang.instrument.ClassDefinition... definitions)
|
从类 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(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
- 抛出:
java.lang.instrument.UnmodifiableClassException
java.lang.ClassNotFoundException
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly