| com.tc.object.bytecode.hook.ClassPreProcessor
ClassPreProcessor | public interface ClassPreProcessor (Code) | | Modify byte[] before being loaded as a class by the classloader
|
Method Summary | |
public byte[] | preProcess(String name, byte[] data, int offset, int length, ClassLoader caller) XXX::NOTE:: ClassLoader checks the returned byte array to see if the class is instrumented or not to maintain the
offset. |
preProcess | public byte[] preProcess(String name, byte[] data, int offset, int length, ClassLoader caller)(Code) | | XXX::NOTE:: ClassLoader checks the returned byte array to see if the class is instrumented or not to maintain the
offset.
Parameters: name - The class name Parameters: data - Data buffer Parameters: offset - Offset into data Parameters: length - Length of class data after offset Parameters: caller - The classloader loading the class new byte array if the class is instrumented and same input byte array if not. See Also: ClassLoaderPreProcessorImpl |
|
|