railo.runtime.instrumentation
Class InstrumentationUtil

java.lang.Object
  extended by railo.runtime.instrumentation.InstrumentationUtil

public class InstrumentationUtil
extends Object


Constructor Summary
InstrumentationUtil()
           
 
Method Summary
static boolean isSupported()
           
static void redefineClass(Class clazz, byte[] barr)
           
static boolean redefineClassEL(Class clazz, byte[] barr)
          redefine the class with the given byte array
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstrumentationUtil

public InstrumentationUtil()
Method Detail

redefineClassEL

public static boolean redefineClassEL(Class clazz,
                                      byte[] barr)
redefine the class with the given byte array

Parameters:
clazz -
barr -
Returns:

redefineClass

public static void redefineClass(Class clazz,
                                 byte[] barr)
                          throws ClassNotFoundException,
                                 UnmodifiableClassException
Throws:
ClassNotFoundException
UnmodifiableClassException

isSupported

public static boolean isSupported()


Copyright © 2012 Railo