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

EnhancerVisitorFactory implementation based on JPA mapping.

Since:
  3.0

Constructor Summary
`JpaEnhancerVisitorFactory(JpaEntityMap entityMap)`

Method Summary
`org.objectweb.asm.ClassVisitor` | `createVisitor(String className, org.objectweb.asm.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(JpaEntityMap entityMap)

Method Detail

### createVisitor

    public org.objectweb.asm.ClassVisitor createVisitor(String className,
                                                        org.objectweb.asm.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-2008 Apache Cayenne. All Rights Reserved.