Class GeneratedCachedClassHandler

java.lang.Object
org.aspectj.weaver.tools.cache.GeneratedCachedClassHandler
All Implemented Interfaces:
GeneratedClassHandler

public class GeneratedCachedClassHandler extends Object implements GeneratedClassHandler
Handler for generated classes; such as Shadowed closures, etc. This wraps the normal generated class handler with caching
  • Constructor Details

  • Method Details

    • acceptClass

      public void acceptClass(String name, byte[] originalBytes, byte[] wovenBytes)
      Description copied from interface: GeneratedClassHandler
      Accept class generated by WeavingAdaptor. The class loader should store the class definition in its local cache until called upon to load it.
      Specified by:
      acceptClass in interface GeneratedClassHandler
      Parameters:
      name - class name
      originalBytes - original class bytes
      wovenBytes - woven class bytes