| Modifier and Type | Field and Description |
|---|---|
| private final EnhancementContext |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | transform(ClassLoader
the defining class loader of the class being transformed. It may be null if using bootstrap loader loader, String The name of the class being transformed className, Class<?> If an already loaded class is being redefined, then pass this as a parameter classBeingRedefined, ProtectionDomain ProtectionDomain of the class being (re)-defined protectionDomain, byte[] The input byte buffer in class file format classfileBuffer)Implements org. |
| enhancementContext | back to summary |
|---|---|
| private final EnhancementContext enhancementContext | |
| EnhancingClassTransformerImpl | back to summary |
|---|---|
| public EnhancingClassTransformerImpl(EnhancementContext enhancementContext) | |
| transform | back to summary |
|---|---|
| public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException Implements org. Doc from org. Invoked when a class is being loaded or redefined to add hooks for persistence bytecode manipulation.
| |