Class ProbeProviderClassFileTransformer
- java.lang.Object
-
- org.glassfish.flashlight.impl.client.ProbeProviderClassFileTransformer
-
- All Implemented Interfaces:
ClassFileTransformer
public class ProbeProviderClassFileTransformer extends Object implements ClassFileTransformer
July 2012 Byron Nevins says: We no longer allow outsiders to create instances. Summary of the problem solved: All of the transformation/untransformation is done to the entire class (ProbeProvider) all at once. I.e. EVERY probe (method) is done all at once. BUT -- the callers are calling once for every Probe which was a huge waste of time.- Author:
- Byron Nevins
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.instrument.ClassFileTransformer
transform
-
-
-
-
Method Detail
-
transform
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException
- Specified by:
transform
in interfaceClassFileTransformer
- Throws:
IllegalClassFormatException
-
-