public class CGLIBInstrumenter extends AbstractInstrumenter
AbstractInstrumenter.CustomFieldFilter
Instrumenter.Options
logger, options
Constructor and Description |
---|
CGLIBInstrumenter(Logger logger,
Instrumenter.Options options) |
Modifier and Type | Method and Description |
---|---|
protected ClassDescriptor |
getClassDescriptor(byte[] byecode)
Given the bytecode of a java class, retrieve the descriptor for that class.
|
protected ClassTransformer |
getClassTransformer(ClassDescriptor descriptor,
Set classNames)
Create class transformer for the class.
|
checkMagic, execute, isClassFile, isJarFile, processClassFile, processFile, processJarFile
public CGLIBInstrumenter(Logger logger, Instrumenter.Options options)
protected ClassDescriptor getClassDescriptor(byte[] byecode) throws Exception
AbstractInstrumenter
getClassDescriptor
in class AbstractInstrumenter
byecode
- The class bytecode.Exception
- Indicates problems access the bytecode.protected ClassTransformer getClassTransformer(ClassDescriptor descriptor, Set classNames)
AbstractInstrumenter
getClassTransformer
in class AbstractInstrumenter
descriptor
- The descriptor of the class to be instrumented.classNames
- The names of all classes to be instrumented; the "pipeline" if you will.Copyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved