Klasse ClassPreProcessorAgentAdapter

java.lang.Object
org.aspectj.weaver.loadtime.ClassPreProcessorAgentAdapter
Alle implementierten Schnittstellen:
ClassFileTransformer

public class ClassPreProcessorAgentAdapter extends Object implements ClassFileTransformer
Java 1.5 adapter for class pre processor
Autor:
Alexandre Vasseur, Andy Clement
  • 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:
      transform in Schnittstelle ClassFileTransformer
      Parameter:
      loader - the defining class loader
      className - the name of class being loaded
      classBeingRedefined - is set when hotswap is being attempted
      protectionDomain - the protection domain for the class being loaded
      bytes - the incoming bytes (before weaving)
      Gibt zurück:
      the woven bytes
      Löst aus:
      IllegalClassFormatException