- All Implemented Interfaces:
- javax.persistence.spi.ClassTransformer
public class JPAClassTransformer
extends Object
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.