public class BCELClassFileTransformer extends Object implements ClassFileTransformer
| Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_ANNOTATION_TYPE |
static String |
LIFECYLEMETA_ANNOTATION_TYPE |
static String |
REACTIVE_ANNOTATION_TYPE |
| Constructor and Description |
|---|
BCELClassFileTransformer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
agentmain(String args,
Instrumentation inst) |
static void |
premain(String options,
Instrumentation ins)
在main函数执行前,执行的函数
|
byte[] |
transform(ClassLoader loader,
String className,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
public static final String EVENT_ANNOTATION_TYPE
public static final String LIFECYLEMETA_ANNOTATION_TYPE
public static final String REACTIVE_ANNOTATION_TYPE
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException
transform in interface ClassFileTransformerIllegalClassFormatExceptionpublic static void premain(String options, Instrumentation ins)
options - ins - public static void agentmain(String args, Instrumentation inst)
Copyright © 2015. All Rights Reserved.