Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.enhancer
Class PersistentInterfaceVisitor

    java.lang.Object
      ClassAdapter
          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.
`void` | `visitEnd()`

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.

### visitEnd

    public void visitEnd()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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