public class DirectCopyClassTransformer extends Object implements BroadleafClassTransformer
| Modifier and Type | Field and Description |
|---|---|
protected SupportLogger |
logger |
protected String |
moduleName |
protected static List<String> |
transformedMethods |
protected Map<String,String> |
xformTemplates |
| Constructor and Description |
|---|
DirectCopyClassTransformer(String moduleName) |
| Modifier and Type | Method and Description |
|---|---|
void |
compileJPAProperties(Properties props,
Object key) |
protected String |
getImplementationType(String className)
This method will do its best to return an implementation type for a given classname.
|
Map<String,String> |
getXformTemplates() |
protected String |
methodDescription(javassist.CtMethod method) |
void |
setXformTemplates(Map<String,String> xformTemplates) |
byte[] |
transform(ClassLoader loader,
String className,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
protected SupportLogger logger
protected String moduleName
public DirectCopyClassTransformer(String moduleName)
public void compileJPAProperties(Properties props, Object key) throws Exception
compileJPAProperties in interface BroadleafClassTransformerExceptionpublic byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException
transform in interface javax.persistence.spi.ClassTransformerIllegalClassFormatExceptionprotected String getImplementationType(String className)
protected String methodDescription(javassist.CtMethod method)
Copyright © 2014. All Rights Reserved.