org.apache.cayenne.enhancer
Class Enhancer
java.lang.Object
org.apache.cayenne.enhancer.Enhancer
- All Implemented Interfaces:
- ClassFileTransformer
public class Enhancer
- extends Object
- implements ClassFileTransformer
A ClassFileTransformer that delegates class enhancement to a chain of ASM transformers
provided by the EnhancerVisitorFactory
.
- Since:
- 3.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected org.apache.commons.logging.Log logger
visitorFactory
protected EnhancerVisitorFactory visitorFactory
Enhancer
public Enhancer(EnhancerVisitorFactory visitorFactory)
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 © 2001-2011 Apache Cayenne. All Rights Reserved.