play.classloading
Class HotswapAgent

java.lang.Object
  extended by play.classloading.HotswapAgent

public class HotswapAgent
extends java.lang.Object

Enable HotSwap when it's possible.


Field Summary
static boolean enabled
           
 
Constructor Summary
HotswapAgent()
           
 
Method Summary
static void premain(java.lang.String agentArgs, java.lang.instrument.Instrumentation instrumentation)
           
static void reload(java.lang.instrument.ClassDefinition... definitions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

enabled

public static boolean enabled
Constructor Detail

HotswapAgent

public HotswapAgent()
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.UnmodifiableClassException
java.lang.ClassNotFoundException


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly