org.broadleafcommerce.common.extensibility.jpa.copy
Class NullClassTransformer
java.lang.Object
org.broadleafcommerce.common.extensibility.jpa.copy.NullClassTransformer
- All Implemented Interfaces:
- javax.persistence.spi.ClassTransformer, BroadleafClassTransformer
public class NullClassTransformer
- extends Object
- implements BroadleafClassTransformer
This class transformer will do nothing. The main use case for this transformer is when you would prefer to not
have a module's template classes copied over, and would rather do it yourself.
This transformer should not typically be used.
- Author:
- Andre Azzolini (apazzolini)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullClassTransformer
public NullClassTransformer()
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 © 2013. All Rights Reserved.