public class ConditionalFieldAnnotationsClassTransformer extends AbstractClassTransformer implements BroadleafClassTransformer
| Modifier and Type | Field and Description |
|---|---|
protected SupportLogger |
logger |
protected ConditionalFieldAnnotationCopyTransformersManager |
manager |
protected String |
moduleName |
alreadyLoadedClasses, preLoadClassNamePatterns| Constructor and Description |
|---|
ConditionalFieldAnnotationsClassTransformer(String moduleName) |
| Modifier and Type | Method and Description |
|---|---|
void |
compileJPAProperties(Properties props,
Object key) |
byte[] |
transform(ClassLoader loader,
String className,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer)
Will return null if the Spring property value defined in
#propertyName resolves to false, or if
an exception occurs while trying to determine the value for the property. |
afterPropertiesSet, setPreLoadClassNamePatternsprotected ConditionalFieldAnnotationCopyTransformersManager manager
protected SupportLogger logger
protected String moduleName
public ConditionalFieldAnnotationsClassTransformer(String moduleName)
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException
#propertyName resolves to false, or if
an exception occurs while trying to determine the value for the property.transform in interface javax.persistence.spi.ClassTransformerloader - className - classBeingRedefined - protectionDomain - classfileBuffer - IllegalClassFormatExceptionpublic void compileJPAProperties(Properties props, Object key) throws Exception
compileJPAProperties in interface BroadleafClassTransformerExceptionCopyright © 2018. All rights reserved.