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

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

public class SingleTableInheritanceClassTransformer
extends Object
implements BroadleafClassTransformer

Author:
jfischer

Field Summary
protected  List<SingleTableInheritanceInfo> infos
           
static String SINGLE_TABLE_ENTITIES
           
 
Constructor Summary
SingleTableInheritanceClassTransformer()
           
 
Method Summary
 void compileJPAProperties(Properties props, Object key)
           
 byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, 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 String SINGLE_TABLE_ENTITIES
See Also:
Constant Field Values

infos

protected List<SingleTableInheritanceInfo> infos
Constructor Detail

SingleTableInheritanceClassTransformer

public SingleTableInheritanceClassTransformer()
Method Detail

compileJPAProperties

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

transform

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


Copyright © 2012. All Rights Reserved.