org.apache.geronimo.persistence
Class TransformerWrapper

java.lang.Object
  extended by org.apache.geronimo.persistence.TransformerWrapper
All Implemented Interfaces:
ClassFileTransformer

public class TransformerWrapper
extends Object
implements ClassFileTransformer


Constructor Summary
TransformerWrapper(ClassTransformer classTransformer, ClassLoader classLoader)
           
 
Method Summary
 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
 

Constructor Detail

TransformerWrapper

public TransformerWrapper(ClassTransformer classTransformer,
                          ClassLoader classLoader)
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


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.