org.kohsuke.file_leak_detector.transform
Class TransformerImpl

java.lang.Object
  extended by org.kohsuke.file_leak_detector.transform.TransformerImpl
All Implemented Interfaces:
ClassFileTransformer

public class TransformerImpl
extends Object
implements ClassFileTransformer

Author:
Kohsuke Kawaguchi

Constructor Summary
TransformerImpl(Collection<ClassTransformSpec> specs)
           
 
Method Summary
 byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)
           
 byte[] transform(String className, byte[] classfileBuffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformerImpl

public TransformerImpl(Collection<ClassTransformSpec> specs)
Method Detail

transform

public byte[] transform(ClassLoader loader,
                        String className,
                        Class<?> classBeingRedefined,
                        ProtectionDomain protectionDomain,
                        byte[] classfileBuffer)
                 throws IllegalClassFormatException
Specified by:
transform in interface ClassFileTransformer
Throws:
IllegalClassFormatException

transform

public byte[] transform(String className,
                        byte[] classfileBuffer)


Copyright © 2014. All rights reserved.