Class NullClassTransformer
java.lang.Object
org.broadleafcommerce.common.extensibility.jpa.copy.NullClassTransformer
- All Implemented Interfaces:
jakarta.persistence.spi.ClassTransformer,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)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompileJPAProperties(Properties props, Object key) byte[]transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)
-
Constructor Details
-
NullClassTransformer
public NullClassTransformer()
-
-
Method Details
-
compileJPAProperties
- Specified by:
compileJPAPropertiesin interfaceBroadleafClassTransformer- Throws:
Exception
-
transform
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws jakarta.persistence.spi.TransformerException - Specified by:
transformin interfacejakarta.persistence.spi.ClassTransformer- Throws:
jakarta.persistence.spi.TransformerException
-