protected static class ClassFileLocator.AgentBased.ExtractionClassFileTransformer extends Object implements ClassFileTransformer
| Modifier | Constructor and Description | 
|---|---|
protected  | 
ExtractionClassFileTransformer(ClassLoader classLoader,
                              String typeName)
Creates a class file transformer for the purpose of extraction. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected byte[] | 
getBinaryRepresentation()
Returns the binary representation of the class file that was looked up. 
 | 
String | 
toString()  | 
byte[] | 
transform(ClassLoader classLoader,
         String internalName,
         Class<?> redefinedType,
         ProtectionDomain protectionDomain,
         byte[] classFile)  | 
protected ExtractionClassFileTransformer(ClassLoader classLoader, String typeName)
classLoader - The class loader that is expected to have loaded the looked-up a class.typeName - The name of the type to look up.public byte[] transform(ClassLoader classLoader, String internalName, Class<?> redefinedType, ProtectionDomain protectionDomain, byte[] classFile) throws IllegalClassFormatException
transform in interface ClassFileTransformerIllegalClassFormatExceptionprotected byte[] getBinaryRepresentation()
null if no such class file could
 be located.Copyright © 2014–2015. All rights reserved.