Package org.aspectj.weaver.loadtime
Klasse ClassPreProcessorAgentAdapter
java.lang.Object
org.aspectj.weaver.loadtime.ClassPreProcessorAgentAdapter
- Alle implementierten Schnittstellen:
ClassFileTransformer
Java 1.5 adapter for class pre processor
- Autor:
- Alexandre Vasseur, Andy Clement
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbyte[]transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] bytes) Invokes the weaver to modify some set of input bytes.Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden java.lang.instrument.ClassFileTransformer
transform
-
Konstruktordetails
-
ClassPreProcessorAgentAdapter
public ClassPreProcessorAgentAdapter()
-
-
Methodendetails
-
transform
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] bytes) throws IllegalClassFormatException Invokes the weaver to modify some set of input bytes.- Angegeben von:
transformin SchnittstelleClassFileTransformer- Parameter:
loader- the defining class loaderclassName- the name of class being loadedclassBeingRedefined- is set when hotswap is being attemptedprotectionDomain- the protection domain for the class being loadedbytes- the incoming bytes (before weaving)- Gibt zurück:
- the woven bytes
- Löst aus:
IllegalClassFormatException
-