org.apache.cayenne.enhancer
Interface EnhancerVisitorFactory

All Known Implementing Classes:
CayenneEnhancerVisitorFactory

public interface EnhancerVisitorFactory

A factory for the ASM ClassVisitors used during class enhancement.

Since:
3.0

Method Summary
 ClassVisitor createVisitor(String className, ClassVisitor out)
          Creates and returns an ASM ClassVisitor for enhancing a class.
 

Method Detail

createVisitor

ClassVisitor createVisitor(String className,
                           ClassVisitor out)
Creates and returns an ASM ClassVisitor for enhancing a class. Returned visitor is either null if no enhancement of this class is needed, or a wrapper around provided "out" ClassVisitor. Often it is a chain of visitors, each doing its own enhancement.



Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.