public class DefaultBytecodeProvider extends java.lang.Object implements BytecodeProvider
BytecodeProvider interface which
reads the bytecode from disk.| Constructor and Description |
|---|
DefaultBytecodeProvider() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytecode(java.lang.String className,
java.lang.ClassLoader loader)
Returns the bytecode for a specific class.
|
public byte[] getBytecode(java.lang.String className,
java.lang.ClassLoader loader)
throws java.lang.Exception
getBytecode in interface BytecodeProviderclassName - the fully qualified name of the classloader - the class loader that has loaded the classjava.lang.Exception - upon failure