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.jpa.enhancer
Class JpaEnhancerVisitorFactory

    java.lang.Object
      org.apache.cayenne.jpa.enhancer.JpaEnhancerVisitorFactory

All Implemented Interfaces:
  EnhancerVisitorFactory

    public class JpaEnhancerVisitorFactory

extends Object
implements EnhancerVisitorFactory

Class enhancer used for JPA.

Author:
  Andrus Adamchik

Constructor Summary
`JpaEnhancerVisitorFactory(Map<String,JpaClassDescriptor> managedClasses)`

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

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### JpaEnhancerVisitorFactory

    public JpaEnhancerVisitorFactory(Map<String,JpaClassDescriptor> managedClasses)

Method Detail

### createVisitor

    public ClassVisitor createVisitor(String className,
                                      ClassVisitor out)

  Description copied from interface: `EnhancerVisitorFactory`
  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.

  Specified by:
    `createVisitor` in interface `EnhancerVisitorFactory`

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.