public class ClassPreProcessorAgentAdapter
extends java.lang.Object
implements java.lang.instrument.ClassFileTransformer
| Constructor and Description |
|---|
ClassPreProcessorAgentAdapter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
reload(java.lang.ClassLoader loader,
java.lang.String className,
java.lang.Class<?> classBeingRedefined,
java.security.ProtectionDomain protectionDomain,
byte[] bytes) |
byte[] |
transform(java.lang.ClassLoader loader,
java.lang.String className,
java.lang.Class<?> classBeingRedefined,
java.security.ProtectionDomain protectionDomain,
byte[] bytes) |
public byte[] transform(java.lang.ClassLoader loader,
java.lang.String className,
java.lang.Class<?> classBeingRedefined,
java.security.ProtectionDomain protectionDomain,
byte[] bytes)
throws java.lang.instrument.IllegalClassFormatException
transform in interface java.lang.instrument.ClassFileTransformerloader - the defining class loaderclassName - the name of class being loadedclassBeingRedefined - when hotswap is calledprotectionDomain - the ProtectionDomain for the class represented by the bytesbytes - the bytecode before weavingjava.lang.instrument.IllegalClassFormatExceptionpublic static void reload(java.lang.ClassLoader loader,
java.lang.String className,
java.lang.Class<?> classBeingRedefined,
java.security.ProtectionDomain protectionDomain,
byte[] bytes)
throws java.lang.instrument.IllegalClassFormatException
java.lang.instrument.IllegalClassFormatException