public class CurrentTransactionRewriter
extends java.lang.Object
| Constructor and Description |
|---|
CurrentTransactionRewriter() |
| Modifier and Type | Method and Description |
|---|---|
static org.objectweb.asm.ClassVisitor |
rewriteCurrentTransactionReferences(org.objectweb.asm.ClassVisitor cv,
org.objectweb.asm.ClassReader reader)
Rewrite the static field references to Transaction.CURRENT to instead call
Instrumentation.getTransaction(). |
public static org.objectweb.asm.ClassVisitor rewriteCurrentTransactionReferences(org.objectweb.asm.ClassVisitor cv,
org.objectweb.asm.ClassReader reader)
Instrumentation.getTransaction().