org.apache.cayenne.enhancer
Class PersistentInterfaceVisitor

java.lang.Object
  extended by ClassAdapter
      extended by org.apache.cayenne.enhancer.PersistentInterfaceVisitor

public class PersistentInterfaceVisitor
extends ClassAdapter

Enhances classes passed through the visitor to add Persistent interface to them, and fields and methods to support its implementation.

Since:
3.0
Author:
Andrus Adamchik

Field Summary
protected  EnhancementHelper helper
           
 
Constructor Summary
PersistentInterfaceVisitor(ClassVisitor visitor)
           
 
Method Summary
 void visit(int version, int access, String name, String signature, String superName, String[] interfaces)
          Handles injection of additional fields and Persistent interface properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

helper

protected EnhancementHelper helper
Constructor Detail

PersistentInterfaceVisitor

public PersistentInterfaceVisitor(ClassVisitor visitor)
Method Detail

visit

public void visit(int version,
                  int access,
                  String name,
                  String signature,
                  String superName,
                  String[] interfaces)
Handles injection of additional fields and Persistent interface properties.



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