org.datanucleus.jpa
Class JPAClassTransformer

java.lang.Object
  extended by org.datanucleus.enhancer.DataNucleusClassFileTransformer
      extended by org.datanucleus.jpa.JPAClassTransformer
All Implemented Interfaces:
java.lang.instrument.ClassFileTransformer, javax.persistence.spi.ClassTransformer

public class JPAClassTransformer
extends org.datanucleus.enhancer.DataNucleusClassFileTransformer
implements javax.persistence.spi.ClassTransformer

ClassTransformer for runtime enhancement of classes to the JPA interface. A persistence provider supplies an instance of this interface to the PersistenceUnitInfo.addTransformer method. The supplied transformer instance will get called to transform entity class files when they are loaded or redefined. The transformation occurs before the class is defined by the JVM.


Field Summary
 
Fields inherited from class org.datanucleus.enhancer.DataNucleusClassFileTransformer
arguments, enhancer
 
Constructor Summary
JPAClassTransformer()
           
 
Method Summary
 
Methods inherited from class org.datanucleus.enhancer.DataNucleusClassFileTransformer
premain, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.persistence.spi.ClassTransformer
transform
 

Constructor Detail

JPAClassTransformer

public JPAClassTransformer()


Copyright © 2009. All Rights Reserved.