org.broadleafcommerce.profile.extensibility.jpa.convert.inheritance
Class SingleTableInheritanceClassTransformer

java.lang.Object
  extended by org.broadleafcommerce.profile.extensibility.jpa.convert.inheritance.SingleTableInheritanceClassTransformer
All Implemented Interfaces:
javax.persistence.spi.ClassTransformer, BroadleafClassTransformer

public class SingleTableInheritanceClassTransformer
extends java.lang.Object
implements BroadleafClassTransformer

Author:
jfischer

Field Summary
protected  java.util.List<SingleTableInheritanceInfo> infos
           
static java.lang.String SINGLE_TABLE_ENTITIES
           
 
Constructor Summary
SingleTableInheritanceClassTransformer()
           
 
Method Summary
 void compileJPAProperties(java.util.Properties props, java.lang.Object key)
           
 byte[] transform(java.lang.ClassLoader loader, java.lang.String className, java.lang.Class<?> classBeingRedefined, java.security.ProtectionDomain protectionDomain, byte[] classfileBuffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLE_TABLE_ENTITIES

public static final java.lang.String SINGLE_TABLE_ENTITIES
See Also:
Constant Field Values

infos

protected java.util.List<SingleTableInheritanceInfo> infos
Constructor Detail

SingleTableInheritanceClassTransformer

public SingleTableInheritanceClassTransformer()
Method Detail

compileJPAProperties

public void compileJPAProperties(java.util.Properties props,
                                 java.lang.Object key)
                          throws java.lang.Exception
Specified by:
compileJPAProperties in interface BroadleafClassTransformer
Throws:
java.lang.Exception

transform

public byte[] transform(java.lang.ClassLoader loader,
                        java.lang.String className,
                        java.lang.Class<?> classBeingRedefined,
                        java.security.ProtectionDomain protectionDomain,
                        byte[] classfileBuffer)
                 throws java.lang.instrument.IllegalClassFormatException
Specified by:
transform in interface javax.persistence.spi.ClassTransformer
Throws:
java.lang.instrument.IllegalClassFormatException


Copyright © 2011. All Rights Reserved.