public class DelegatingClassFileTransformer extends Object implements ClassFileTransformer
Modifier and Type | Field and Description |
---|---|
static AttachmentKey<DelegatingClassFileTransformer> |
ATTACHMENT_KEY |
Constructor and Description |
---|
DelegatingClassFileTransformer() |
Modifier and Type | Method and Description |
---|---|
void |
addTransformer(ClassFileTransformer classFileTransformer) |
void |
setActive(boolean active) |
byte[] |
transform(ClassLoader loader,
String className,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] originalBuffer) |
public static final AttachmentKey<DelegatingClassFileTransformer> ATTACHMENT_KEY
public void addTransformer(ClassFileTransformer classFileTransformer)
public void setActive(boolean active)
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] originalBuffer) throws IllegalClassFormatException
transform
in interface ClassFileTransformer
IllegalClassFormatException
Copyright © 2023 JBoss by Red Hat. All rights reserved.