org.hibernate.bytecode.javassist
Class JavassistClassTransformer
java.lang.Object
org.hibernate.bytecode.AbstractClassTransformerImpl
org.hibernate.bytecode.javassist.JavassistClassTransformer
- All Implemented Interfaces:
- ClassTransformer
public class JavassistClassTransformer
- extends AbstractClassTransformerImpl
Enhance the classes allowing them to implements InterceptFieldEnabled
This interface is then used by Hibernate for some optimizations.
- Author:
- Emmanuel Bernard, Steve Ebersole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavassistClassTransformer
public JavassistClassTransformer(ClassFilter classFilter,
FieldFilter fieldFilter)
doTransform
protected byte[] doTransform(ClassLoader loader,
String className,
Class classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer)
- Specified by:
doTransform
in class AbstractClassTransformerImpl
getFieldTransformer
protected FieldTransformer getFieldTransformer(javassist.bytecode.ClassFile classfile)
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.