|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.aspectwerkz.hook.impl.ClassPreProcessorHelper
public class ClassPreProcessorHelper
Helper class called by the modified java.lang.ClassLoader.
This class is called at different points by the modified java.lang.ClassLoader of the org.codehaus.aspectwerkz.hook.impl.ClassLoaderPreProcessorImpl implemention.
| Constructor Summary | |
|---|---|
ClassPreProcessorHelper()
|
|
| Method Summary | |
|---|---|
static byte[] |
defineClass0Pre(ClassLoader caller,
String name,
byte[] b,
int off,
int len,
ProtectionDomain pd)
byte code instrumentation of class loaded |
static Object |
defineClass0Pre(ClassLoader caller,
String name,
Object byteBuffer,
int off,
int len,
ProtectionDomain pd)
Byte code instrumentation of class loaded using Java 5 style thru NIO Since Java 5 comes with JVMTI this helper should be rarely used. |
static ClassPreProcessor |
getClassPreProcessor()
Returns the configured class preprocessor Should be called after initialization only |
static void |
initializePreProcessor()
Initialization of the ClassPreProcessor The ClassPreProcessor implementation is lazy loaded. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassPreProcessorHelper()
| Method Detail |
|---|
public static ClassPreProcessor getClassPreProcessor()
public static void initializePreProcessor()
public static byte[] defineClass0Pre(ClassLoader caller,
String name,
byte[] b,
int off,
int len,
ProtectionDomain pd)
public static Object defineClass0Pre(ClassLoader caller,
String name,
Object byteBuffer,
int off,
int len,
ProtectionDomain pd)
caller - name - byteBuffer - Object that is instance of Java 1.4 NIO ButeBufferoff - len - pd -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||