Package org.aspectj.weaver.tools.cache
Class GeneratedCachedClassHandler
java.lang.Object
org.aspectj.weaver.tools.cache.GeneratedCachedClassHandler
- All Implemented Interfaces:
GeneratedClassHandler
Handler for generated classes; such as Shadowed closures, etc. This wraps the normal
generated class handler with caching
-
Constructor Summary
ConstructorsConstructorDescriptionGeneratedCachedClassHandler(WeavedClassCache cache, GeneratedClassHandler nextHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptClass(String name, byte[] originalBytes, byte[] wovenBytes) Accept class generated by WeavingAdaptor.
-
Constructor Details
-
GeneratedCachedClassHandler
-
-
Method Details
-
acceptClass
Description copied from interface:GeneratedClassHandlerAccept class generated by WeavingAdaptor. The class loader should store the class definition in its local cache until called upon to load it.- Specified by:
acceptClassin interfaceGeneratedClassHandler- Parameters:
name- class nameoriginalBytes- original class byteswovenBytes- woven class bytes
-